Teach Coaching Rule
teach_coaching_ruleAdds a coaching rule from a call to the agent's versioned, rollback-ready instructions, then runs a test built from that call to confirm the agent follows it.
Instructions
Teach the agent one rule from a coaching point on a call (get_coaching gives the code and a suggested rule). The rule is added to a Coaching rules section of the agent's instructions through the governed update path, so it is versioned, in change history and can be rolled back; a business owner or admin signed in through this connector applies it right away, otherwise it waits for the owner. Then a test is built from that call and run, and the result says whether the agent now follows the rule.
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": {
"call_id": "<call_id>",
"code": "<code>",
"rule": "<rule>"
},
"name": "teach_coaching_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The coaching point code from get_coaching. | |
| rule | Yes | One plain instruction the agent should follow on every call (8-300 characters). Usually the suggested rule from get_coaching. | |
| call_id | Yes | The call the coaching point is on. | |
| business_id | No | Business ID. Required when the key can reach more than one business. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | ||
| test | No | ||
| error | No | Present when success is false | |
| status | No | ||
| success | Yes | Whether the tool completed successfully |