interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / qualification / captures / qwen35-llamacpp / m1c-malformed-args-tool-choice-required.json
| 1 | { |
| 2 | "name": "m1c-malformed-args-tool-choice-required", |
| 3 | "request": { |
| 4 | "model": "qwen3.5:9b", |
| 5 | "temperature": 0, |
| 6 | "seed": 42, |
| 7 | "max_tokens": 4096, |
| 8 | "tools": [ |
| 9 | { |
| 10 | "type": "function", |
| 11 | "function": { |
| 12 | "name": "set_volume", |
| 13 | "description": "Set the speaker volume using a named preset such as 'quiet', 'normal' or 'loud'.", |
| 14 | "parameters": { |
| 15 | "type": "object", |
| 16 | "properties": { |
| 17 | "level": { |
| 18 | "type": "integer", |
| 19 | "description": "Preset name, e.g. loud" |
| 20 | } |
| 21 | }, |
| 22 | "required": [ |
| 23 | "level" |
| 24 | ] |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | ], |
| 29 | "messages": [ |
| 30 | { |
| 31 | "role": "user", |
| 32 | "content": "Set the volume to the loud preset." |
| 33 | } |
| 34 | ], |
| 35 | "tool_choice": "required" |
| 36 | }, |
| 37 | "endpoint": "/v1/chat/completions", |
| 38 | "method": "POST", |
| 39 | "http_status": 200, |
| 40 | "response": "{\"choices\":[{\"finish_reason\":\"tool_calls\",\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"\",\"reasoning_content\":\"The user wants me to set the volume to the \\\"loud\\\" preset. I need to use the set_volume function with the level parameter set to \\\"loud\\\" as specified in the user's request.\\n\",\"tool_calls\":[{\"type\":\"function\",\"function\":{\"name\":\"set_volume\",\"arguments\":\"{\\\"level\\\":1}\"},\"id\":\"A6evFKQXuzQ2yHKnHTGUIhb8iml9Dglh\"}]}}],\"created\":1791150550,\"model\":\"qwen3.5:9b\",\"system_fingerprint\":\"b1-a7b94df\",\"object\":\"chat.completion\",\"usage\":{\"completion_tokens\":69,\"prompt_tokens\":303,\"total_tokens\":372,\"prompt_tokens_details\":{\"cached_tokens\":299}},\"id\":\"chatcmpl-Vf4oHS7RtSGbs8bhbDo5p3OoK5nuofOq\",\"timings\":{\"cache_n\":299,\"prompt_n\":4,\"prompt_ms\":126.038,\"prompt_per_token_ms\":31.5095,\"prompt_per_second\":31.736460432567956,\"predicted_n\":69,\"predicted_ms\":5311.206,\"predicted_per_token_ms\":78.1059705882353,\"predicted_per_second\":12.803118538426112}}", |
| 41 | "sha256_response": "5445c2fad5bafc6c2714c33bbba98c9fec1b29cfc706d1bb26753bbfaeeae983" |
| 42 | } |