Get a saved prompt
cortex_promptFetch one of the user's saved prompts (a reusable prompt, startup script, or template they saved word for word), or list them. When the user writes #some-handle (for example "#reponame-startup"), or asks to pull up, use, or run a saved prompt or script, call this with that handle. The text comes back exactly as saved and nothing else. If the user asked to see it, show it verbatim in a code block; if they invoked it to use it, carry it out as if they had typed it themselves. Call with no handle to list what is saved.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cortex_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handle | No | The prompt's handle, with or without the #, e.g. reponame-startup. Omit to list the saved prompts. |