talonic_compliance_update_rule
Edit one rule; only the fields sent change.
How an agent uses it
- Use it when: a rule reads wrongly.
- Not for: removing it (talonic_compliance_delete_rule).
- Arguments:
rule_idplus the fields to change. Needs apps:compliance:write.
Availability
Listed when the Compliance app is enabled for your workspace and your role can use it. Being listed only means the tool is visible: Talonic checks your role again on every call.
Behaviour and cost
- Not read-only. It can add to or change workspace data.
Parameters
| Parameter | Type | Description |
|---|---|---|
| rule_id * | string | — |
| text | string | — |
| obligation | string | How binding the rule is. |
| section | string | — |
| applies_to | string | — |
| condition | string | — |
| threshold | string | — |
| testable | boolean | — |
Example
Tool input
{
"rule_id": "<rule_id>"
}Errors
A failed call comes back as a tool error with the HTTP status and a message that says what to change. Troubleshooting lists the common ones.