set_ai_policy
Set a free-text AI policy that controls ai_triage and ai_digest, letting you define routing and priority rules in plain language without fixed categories.
Instructions
Set the AI policy as free text (policy_text) - it fully controls ai_triage/ai_digest, without fixed categories.
Example: "Delivery services -> archive. Invoices -> label 'Finance'.
Landlord -> keep, highest priority."
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": {
"policy_text": "<policy_text>"
},
"name": "set_ai_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |