get_prompt
Fetch one prompt body, for blocks that ship no prebuilt code. Requires an API key from https://motionsites.dev (Authorization: Bearer sk-ryai-...).
Call this one slug at a time as you build each block. A body averages ~8,000 characters, so fetching several up front just fills context while they wait.
Blocks where search_prompts returned hasCode=true are REJECTED here — use fetch_blocks for those, it keeps their code out of context entirely.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"slug": "<slug>"
},
"name": "get_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes |