mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
1 line
No EOL
772 B
JSON
1 line
No EOL
772 B
JSON
{"messages": [{"role": "user", "content": [{"text": "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"}, {"image": {"format": "png", "source": {"bytes": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg=="}}}]}}, {"text": "Repeat the tool result text verbatim."}]}], "toolConfig": {"tools": [{"toolSpec": {"name": "find_cruises", "description": "Searches sailings.", "inputSchema": {"json": {"type": "object", "properties": {"region": {"type": "string"}}}}}}]}, "inferenceConfig": {"maxTokens": 60}} |