โ Back to Dashboard
1. Function and API Tool Patterns2. Retries, Idempotency, and Timeouts
Function and API Tool Patterns
๐ Tool Use and Orchestrationโฑ 10 minโญ 85 XP
Tool Contracts for Reliability
Tool calling should use strict schemas, deterministic validation, and safe fallbacks.
{
"tool": "create_incident",
"input": {"service":"checkout","severity":"P1"},
"validation": "strict"
}
Never let unvalidated model output call privileged systems directly.
๐งช Knowledge CheckPress 1-4 to select1 of 2
Best practice before tool execution is:
Blind execution
Schema validation and policy checks
Disable logging
Skip retries