Skip to main content

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, optional from_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

ParameterTypeDescription
type *string—
key *string—
to_state *stringThe new state.
from_statestring—
notestring—
evidenceobject[]—

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.