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

Parameters: create_macro
NameTypeDescription
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

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "tidio_write",
    "arguments": {
      "operation": "create_macro",
      "arguments": {
        "text": "text"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "name": "Shipping time",
    "label": "Orders",
    "private": false,
    "status": "created"
  },
  "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.