← Files Build MCP AppsARCHIVED FILE

skills/build-mcp-apps/references/prompt-llm.md

455 Bytes · Sep 30, 2026 · 23:13 UTC

↓ Download file

# Prompt model

Trigger an LLM completion from user interaction with `useSendFollowUpMessage`.

**Example:**
```tsx
import { useSendFollowUpMessage } from "skybridge/web";

export function FindBestFlightButton() {
  const sendMessage = useSendFollowUpMessage();

  return (
    <button onClick={() => sendMessage({
      prompt: "Find the best flight option, based on user preferences and agenda."
    })}>
      Find Best Flight
    </button>
  );
}
```

SHA-256: 28127f397913335fe836d90feb94c21233a62d35bfbb31363cf0e7149bb1ada6