talonic_cases_resolve_reference
Decide which document a reference points to. The decision is kept from then on and links the two documents into one case.
How an agent uses it
- Arguments: reference_id, document_id, idempotency_key?. Needs the cases:write scope; the person behind the credential needs the edit permission in the workspace. Safe to retry: repeating the same call returns the first result and never applies it twice (pass idempotency_key to choose the key).
- Returns: the decided reference.
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 |
|---|---|---|
| reference_id * | string | — |
| document_id * | string | — |
| idempotency_key | string | Optional Idempotency-Key; a retry with the same key returns the first result. |
Example
Tool input
{
"reference_id": "<reference_id>",
"document_id": "<document_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.