Create macro
Add a macro (saved reply) to Settings > General > Macros.
MCP tool tidio_write → create_macro
write
Creates a macro with a text, an optional name for finding it by typing a slash in a chat, and an optional label. A macro reaches no customer until someone sends it, and it is removed in one click in Settings, so it needs no confirmation by default. It needs the Growth plan or higher.
Parameters
| Name | Type | Description |
|---|---|---|
| text string required | string | Macro text. |
| name string | string | Name used to find the macro by typing. |
| label string | string | Label used to group macros. |
| private boolean | boolean | true keeps the macro private to you. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "tidio_write",
"arguments": {
"operation": "create_macro",
"arguments": {
"text": "text"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"name": "Shipping time",
"label": "Orders",
"private": false,
"status": "created"
},
"isError": false
}