List macros
Your macros with name, text and the actions each one runs.
MCP tool gorgias_read → list_macros
read
Returns macros in the order Gorgias lists them, with their reply text and actions such as add tags, set status, assign a team or set priority. Archived macros are included only when you ask. Every role can read the list.
Parameters
| Name | Type | Description |
|---|---|---|
| query string | string | Words to search for in the macro name or text. |
| include_archived boolean | boolean | Default: false. |
| cursor string | string | Next page cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "gorgias_read",
"arguments": {
"operation": "list_macros",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"macros": [
{
"macro_id": 3018,
"name": "Order status",
"actions": [
"Add tags",
"Set status"
],
"archived": false,
"preview": "Hi {{ticket.customer.firstname}}, your order is on its way..."
}
],
"next_cursor": null
},
"isError": false
}