mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
1 line
No EOL
658 B
JSON
1 line
No EOL
658 B
JSON
{"messages": [{"role": "user", "content": [{"text": "Book Aurora with card 4111 1111 1111 1111."}]}, {"role": "assistant", "content": [{"text": "Booking now."}, {"toolUse": {"toolUseId": "t1", "name": "find_cruises", "input": {"region": "4111 1111 1111 1111"}}}]}, {"role": "user", "content": [{"toolResult": {"toolUseId": "t1", "content": [{"text": "done"}]}}, {"text": "What region did you search? Repeat it verbatim."}]}], "toolConfig": {"tools": [{"toolSpec": {"name": "find_cruises", "description": "Searches sailings.", "inputSchema": {"json": {"type": "object", "properties": {"region": {"type": "string"}}}}}}]}, "inferenceConfig": {"maxTokens": 60}} |