{ "test_id": "tests/integration/inference/test_tools_with_schemas.py::TestEdgeCases::test_multiple_tools_with_different_schemas[txt=ollama/llama3.2:3b-instruct-fp16]", "request": { "method": "POST", "url": "http://0.0.0.0:11434/v1/v1/chat/completions", "headers": {}, "body": { "model": "llama3.2:3b-instruct-fp16", "messages": [ { "role": "user", "content": "Use one of the available tools" } ], "tools": [ { "type": "function", "function": { "name": "simple", "parameters": { "type": "object", "properties": { "x": { "type": "string" } } } } }, { "type": "function", "function": { "name": "complex", "parameters": { "type": "object", "properties": { "data": { "$ref": "#/$defs/Complex" } }, "$defs": { "Complex": { "type": "object", "properties": { "nested": { "type": "array", "items": { "type": "number" } } } } } } } }, { "type": "function", "function": { "name": "with_output", "parameters": { "type": "object", "properties": { "input": { "type": "string" } } } } } ], "extra_body": null }, "endpoint": "/v1/chat/completions", "model": "llama3.2:3b-instruct-fp16" }, "response": { "body": { "__type__": "openai.types.chat.chat_completion.ChatCompletion", "__data__": { "id": "rec-09f875513258", "choices": [ { "finish_reason": "tool_calls", "index": 0, "logprobs": null, "message": { "content": "", "refusal": null, "role": "assistant", "annotations": null, "audio": null, "function_call": null, "tool_calls": [ { "id": "call_5q1t77dc", "function": { "arguments": "{\"data\":\"[1, 2, 3]\"}", "name": "complex" }, "type": "function", "index": 0 } ] } } ], "created": 0, "model": "llama3.2:3b-instruct-fp16", "object": "chat.completion", "service_tier": null, "system_fingerprint": "fp_ollama", "usage": { "completion_tokens": 21, "prompt_tokens": 246, "total_tokens": 267, "completion_tokens_details": null, "prompt_tokens_details": null } } }, "is_streaming": false } }