¿Qué es una tool de agente?
En términos 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 qué es importante?
Es importante porque Tools give agents grounded information and real effects. Their schemas and permissions determine what the agent can safely do.
Cómo funciona
El sistema funciona así: A tool exposes a name, description, input schema, execution handler, and optional output schema. The runtime validates arguments, executes, and returns a structured result.
Ejemplo técnico
Ejemplo: A create-task tool validates customerId, title, ownerId, and dueAt, writes idempotently, and returns the created task ID.
Notas de implementación
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.


