Skip to main content

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_trigger ingest_date|document_date, disposition_action review_then_destroy|retain_indefinitely, optional description, 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

ParameterTypeDescription
name *string—
descriptionstring—
duration_daysintegerRange: 1 to 9007199254740991.
event_trigger"ingest_date" | "document_date"—
grace_period_daysintegerRange: 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.