Glossary term
Glossary term
Agentic Systems
Structured definition of tool inputs, outputs, and validation rules.
OpenAI's function-calling API requires a JSON Schema tool schema for each tool - Stripe publishes schemas for its billing functions so developers can expose them to GPT-4 without writing custom parsing logic.
LangChain's tool decorators auto-generate JSON Schema tool schemas from Python function signatures and docstrings, standardising tool definitions for Claude, GPT-4, and Gemini agents from a single codebase.
A procurement agent's create_purchase_order tool schema defines required fields (vendor_id, amount, currency, cost_centre), optional fields (justification, attachments), and validation constraints (amount ≤ 50000 for auto-approval).