List canned actions
Canned actions with ID, name and the categories they are defined for.
MCP tool happyfox_read → list_canned_actions
read
Lists the canned actions your agent user can use, from Automate >> Canned Actions. A canned action shows in the ticket editor only for categories it is defined for, so the list carries them. Pass canned_action_id to apply_canned_action.
Parameters
| Name | Type | Description |
|---|---|---|
| category_id integer | integer | Only canned actions defined for this category. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "happyfox_read",
"arguments": {
"operation": "list_canned_actions",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"canned_actions": [
{
"canned_action_id": 31,
"name": "Password reset steps",
"categories": [
"Support"
]
},
{
"canned_action_id": 44,
"name": "Invoice copy",
"categories": [
"Billing"
]
}
]
},
"isError": false
}