Skip to main content

COMPEL Glossary / tool-schema

Tool schema

The JSON-schema (or equivalent structured) definition of a tool's parameters, types, and constraints.

What this means in practice

Tool schemas are the contract between the model and the tool: the model produces a structured call that the orchestrator validates against the schema before execution, preventing malformed invocations.

Synonyms

tool parameter schema , function schema

See also

  • Tool registry — An authoritative inventory of tools — with schemas, permissions, owners, deprecation state, and audit log — that an agent may call.
  • Tool use / function calling — A prompt pattern authorizing the model to request named functions with structured arguments — searching the web, reading a database, calling a calculator, triggering an API — rather than generating all answers from its weights.
  • Tool-call validation — A post-execution check that verifies the side effects of a tool call match expectations — with rollback capability where applicable.