Saltar al contenido principal

Write a Tool Contract

Draft and commit to a complete first-pass tool contract for an agent workflow.

agent-tool-design5 min read

Draft a first-pass contract for one agent tool that your team may actually build or revise. Choose a tool tied to a real agent workflow: CRM handoff, support escalation, calendar scheduling, policy lookup, invoice check, repository change, or customer-message draft. Tool contract template: Name: verb_object_scope. Job: the business task this tool owns. Inputs: required fields, optional fields, enums, and source identifiers. Output: structured fields, evidence, status, and error shape. Validation: checks before execution and checks before result reuse. Approval: exact operation that requires human confirmation and what the prompt must show. Logging: run ID, tool call ID, source evidence, approver,…

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Contáctanos