[KongchangAI]
ConceptTool Contract

Tool Contract

An explicit agreement between an agent and a tool concerning invocation methods, input parameters, output formats, and error semantics, typically provided to the model as a structured description such as JSON Schema. It directly affects the accuracy of tool calls and the agent's ability to correct errors autonomously.

Timeline (last 90 days)

Oct 23

When a tool fails, it should return a readable reason for the failure to help the agent self-correct, rather than repeatedly retrying on the wrong path.

Unverified50%
Oct 23

A tool contract is an explicit agreement between the agent and the tool regarding the invocation method, input parameters, output format, and error semantics, usually provided to the model in the form of a structured description (such as JSON Schema).

Unverified50%
Oct 16

A durable and reliable Agent system needs a three-piece kernel: memory storage, tool contracts, and guardrails; everything else (planning loops, reasoning chains, meta-prompting) is upper-layer scaffolding that can be replaced independently.

Unverified50%
Oct 16

A tool contract defines not only the tool's functional signature but also the complete behavioral specification upon failure, including timeout thresholds, retry budgets, fallback outputs, and error classification (retryable vs permanent).

Unverified50%
Oct 16

When an LLM node returns malformed JSON, the tool contract specifies not to retry indefinitely, but instead to log the error, skip that record, and mark the number of skipped records in the summary.

Unverified50%
Sep 20

Tool calls should follow the contract principle: failures must raise errors, and silently swallowing exceptions is never allowed.

Unverified50%

All Facts (6)

Source Articles