talonic_object_record_decision
Record a decision on one business object; it is attributed to this connection, never to a person.
How an agent uses it
- Use it when: the user decided (e.g. a lease is checked, an invoice is disputed).
- Not for: Money Found rows (talonic_money_found_set_row_state).
- Arguments:
type,key,to_state, optionalfrom_state(refused when the object is elsewhere),note,evidence[]. Needs records:write.
Availability
Listed when the Business objects 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 |
|---|---|---|
| type * | string | — |
| key * | string | — |
| to_state * | string | The new state. |
| from_state | string | — |
| note | string | — |
| evidence | object[] | — |
Example
Tool input
{
"type": "<type>",
"key": "<key>",
"to_state": "<to_state>"
}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.