Skip to main content

talonic_objects_by_type

Without state: how many objects of a type are in each state. With state: the objects in that state.

How an agent uses it

  • Use it when: counting or listing invoices, loads or leases by state.
  • Not for: one object (talonic_object_get).
  • Arguments: type (e.g. invoice, load, lease, money_found_row), state, limit, offset.

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

  • Reads only. It never changes workspace data.
  • Cost: no credits.

Parameters

ParameterTypeDescription
type *stringThe object type.
statestringA state, e.g. paid.
limitintegerRange: 1 to 1000.
offsetintegerRange: 0 to 9007199254740991.

Example

Tool input
{
  "type": "<type>"
}

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.