list_templates
Retrieves pre-configured rich media, card, carousel, and text message templates AND template folders for an agent profile. Supports optional filtering by folderId or folderName.
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": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | No | Unique ID or human-readable name of the agent profile (e.g. 'RubiCoffee', '9f936c06-...'). If omitted, uses active agent from context. | |
| folderId | No | Optional template folder ID to filter by (pass 'root' to list only root templates outside folders). | |
| accountId | No | Optional account ID (automatically scoped). | |
| folderName | No | Optional template folder name to filter templates inside that folder (case-insensitive). |