Create a prompt
create_promptMake a single prompt: a name, a model id from list_models, and messages (system, then user). Put {{name}} in a message for each value the caller fills in, and give a sample for each in variables. Add json_schema to get JSON back. Saved as the first prompt version; deploy_prompt publishes it.
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": {
"name": "<name>",
"model": "<model>",
"messages": "<messages>"
},
"name": "create_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| model | Yes | A model id from list_models. | |
| messages | Yes | ||
| max_token | No | ||
| variables | No | Sample value for each {{name}}, e.g. {"topic": "solar panels"}. | |
| json_schema | No | A JSON schema for the answer. | |
| temperature | No | ||
| reasoning_effort | No |