O que é uma tool de agente?
Em termos técnicos, A typed capability that an AI agent invokes to retrieve data, change state, execute code, call an API, or interact with an external environment.
Por que isso é importante?
Isso é importante porque Tools give agents grounded information and real effects. Their schemas and permissions determine what the agent can safely do.
Como funciona
O sistema funciona assim: A tool exposes a name, description, input schema, execution handler, and optional output schema. The runtime validates arguments, executes, and returns a structured result.
Exemplo técnico
Exemplo: A create-task tool validates customerId, title, ownerId, and dueAt, writes idempotently, and returns the created task ID.
Notas de implementação
Notas técnicas: Prefer narrow tools with strict schemas, bounded output, deterministic errors, idempotency keys, least privilege, audit logs, timeouts, and clear read versus write semantics.


