List categories
Ticket categories with ID and name.
MCP tool happyfox_read → list_categories
read
Lists the categories in your HappyFox with their IDs and names. Canned actions are defined per category, so use it before picking one.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "happyfox_read",
"arguments": {
"operation": "list_categories",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"categories": [
{
"category_id": 1,
"name": "Support"
},
{
"category_id": 2,
"name": "Billing"
}
]
},
"isError": false
}