โ† 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 Check
Press 1-4 to select1 of 2
Best practice before tool execution is:
Blind execution
Schema validation and policy checks
Disable logging
Skip retries
Function and API Tool Patterns Tutorial | Tool Use and Orchestration โ€” AWS Bedrock Academy