- Tool planning and selection
- Multi-step execution with intermediate state
- Error handling and retries
Kickoff request (pattern)
function_call_result blocks as each step completes.
View source on GitHub → 4_advanced_workflow.py
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
A complex multi-tool agent workflow from the Cookbook
curl -X POST "https://api.incredible.one/v1/chat-completion" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $INCREDIBLE_API_KEY" \
-d '{
"model": "small-1",
"stream": false,
"messages": [
{"role": "user", "content": "Research and draft a brief report; use tools as needed."}
],
"functions": [/* planner, fetch, analyze, format tools */]
}'
function_call_result blocks as each step completes.
Was this page helpful?