create_prompt_snippet
Create a new prompt snippet draft by providing its fields in camelCase format. The backend validates the input and returns the created snippet with its unique ID and version.
Instructions
Create a new prompt_snippet draft. Pass the entity's fields (camelCase) in fields; the backend validates them. Returns the created prompt_snippet with its id and version.
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": {
"fields": "<fields>"
},
"name": "create_prompt_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | The prompt_snippet's fields as a JSON object (camelCase keys), e.g. { "name": "…", "description": "…" }. |