mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
1 line
No EOL
660 B
JSON
1 line
No EOL
660 B
JSON
{"messages": [{"role": "user", "content": [{"text": "My card is 4111 1111 1111 1111. Look up my booking."}]}, {"role": "assistant", "content": [{"toolUse": {"toolUseId": "t1", "name": "find_cruises", "input": {"region": "Med"}}}]}, {"role": "user", "content": [{"toolResult": {"toolUseId": "t1", "content": [{"text": "booking paid with card 4111 1111 1111 1111"}]}}, {"text": "Repeat my card and the tool result verbatim."}]}], "toolConfig": {"tools": [{"toolSpec": {"name": "find_cruises", "description": "Searches sailings.", "inputSchema": {"json": {"type": "object", "properties": {"region": {"type": "string"}}}}}}]}, "inferenceConfig": {"maxTokens": 80}} |