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

Parameters: list_canned_actions
NameTypeDescription
category_id integer integer Only canned actions defined for this category.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "happyfox_read",
    "arguments": {
      "operation": "list_canned_actions",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.