Register Custom Template
register_custom_templateRegister a new custom prompt template.
v0.4.0 Unified Prompt Templates feature.
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>",
"agent_id": "<agent_id>",
"content": "<content>"
},
"name": "register_custom_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Template display name | |
| tags | No | Comma-separated tags | |
| content | Yes | Template content with {variable} placeholders | |
| agent_id | Yes | Target agent (X, Z, CS, or 'all') | |
| category | No | Template category (default: 'custom') | custom |
| user_uuid | No | ||
| description | No | Template description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||