talonic_cases_save_template
Create a case template (no template_id) or change one (with template_id). Admins only: the person behind the credential needs the workspace permission.
How an agent uses it
- Use it when: the user asks to define what a complete case contains.
- Arguments: template_id?, name (required to create), description?, expected_document_types[] { doc_type_name, doc_type_id?, required? } (required to create), link_key_requirements[]?, match_threshold? (0-1, change only), idempotency_key?. Needs the cases:write scope.
- Returns: the template.
Availability
Listed when your workspace has cases and your role can open them. 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 |
|---|---|---|
| template_id | string | — |
| name | string | — |
| description | string | — |
| expected_document_types | object[] | — |
| link_key_requirements | object[] | — |
| match_threshold | number | Range: 0 to 1. |
| idempotency_key | string | Optional Idempotency-Key; a retry with the same key returns the first result. |
Example
Tool input
{}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.