Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

🛠️Tools and Skill Packages

Audience: Tool developers and Agent developers.

Goal: Understand Tool contracts, schemas, and skill bindings before publishing a workflow.

A Tool is one callable capability in a workflow. An off-chain Tool is an HTTP service whose output returns to the protocol with the configured trust evidence; an on-chain Tool is a Move function whose execution and output are recorded on chain.

Tool contract to workflow execution

Tool identity and schema

Every Tool has a fully qualified name (FQN), a registration identity, and an immutable registration-time input/output schema. A DAG vertex names the FQN; the registry resolves that name to the shared Tool and its configuration. If the FQN, module, schema, witness, or invocation contract is incompatible, publish and register a new Tool identity rather than pretending that an old workflow still has the same contract.

Registration also records the Tool kind, timeout, invocation price, verifier methods, witness information, and workflow authorization mode. Tool owner capabilities remain in the custody chosen by the registering application; the shared registry is the discovery and configuration surface.

Off-chain and on-chain Tools

  • An off-chain Tool receives a typed request at its hosted endpoint and returns output or failure evidence. When its verifier mode requires it, the result includes signed or externally verifiable evidence.

  • An on-chain Tool runs as a Move call, stamps the workflow proof, and produces a tagged output. A tagged ok, err, or application-defined variant is data that the DAG can route; it is not automatically a transaction abort.

  • A fixed Tool requirement records a Tool dependency for a skill. The requirement should be checked together with the selected DAG vertex, registry identity, schema, witness, and application policy.

Skill packages

A skill packages a DAG with its Tool dependencies and execution requirements. Its record binds the published DAG, an input commitment, a payment policy, a schedule policy, fixed Tools, and an active interface revision. The Agent registry exposes that contract while Agent custody remains the lifecycle authority.

The application package can keep durable business state beside the Agent and expose thin Tool wrappers that mutate that state. See Assets and Business State for custody and Authorization and Fixed Tools for protected vertices.

Development surfaces

Use the CLI for repeatable wallet-authorized terminal operations, the SDK for application integration, and the exact generated Tool reference for fields and signatures.

Tool lifecycle

  1. Define the Tool schema and application invariants.

  2. Publish the on-chain package or expose the hosted off-chain endpoint.

  3. Register the Tool and retain the returned owner capabilities.

  4. Reference its FQN from the DAG and bind the DAG to a skill.

  5. Execute, verify, and settle the result through DAG and Execution, Verifiers and Result Trust, and On-Chain Result Resolution.

Next

Continue to Verifiers and Result Trust to choose how a Tool result earns acceptance.

Last updated