Save custom instruction
save_instructionAdds a custom instruction (a rule the AI follows in every comment and DM reply suggestion, with priority over everything else), or replaces the text of one when instructionId is given, keeping its id and position. This is where tone, style, address, persona, wording, do's and don'ts and forbidden topics belong, condensed to short rules; a brand-voice guide becomes a handful of instructions, never a knowledge document. Facts (prices, policies, product data) go to add_knowledge_source instead. A brand has at most 5. Returns the instructions before and after, and any URLs the new text introduces: replies may link to those URLs from now on.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"brand": "<brand>",
"text": "<text>"
},
"name": "save_instruction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | One rule for the AI, at most 1500 characters of plain text, e.g. "Always answer in the language of the comment and sign with – Team Example." Rules are added to every reply prompt with the highest priority and used as written: there are no placeholders. URLs in a rule become links the AI may put into replies. | |
| brand | Yes | ||
| instructionId | No | Id of the instruction to rewrite, from get_brand_setup. Omit to add one. |