talonic_records_create_retention_policy
Creates a retention policy. Expiry never destroys anything: a document whose retention ends waits for a person's disposition decision.
How an agent uses it
- Arguments:
name,duration_days,event_triggeringest_date|document_date,disposition_actionreview_then_destroy|retain_indefinitely, optionaldescription,grace_period_days.
Availability
Listed when your role holds the records-management permission (retention, legal holds, audit log, erasure). 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 |
|---|---|---|
| name * | string | — |
| description | string | — |
| duration_days | integer | Range: 1 to 9007199254740991. |
| event_trigger | "ingest_date" | "document_date" | — |
| grace_period_days | integer | Range: 0 to 9007199254740991. |
| disposition_action | "review_then_destroy" | "retain_indefinitely" | — |
Example
Tool input
{
"name": "<name>"
}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.