interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / dialects / replay / nonstream-tool-call-roundtrip.json

58 lines · 1604 bytes Raw Blame History
1{
2 "format": "interplane-replay/1",
3 "name": "nonstream-tool-call-roundtrip",
4 "provider": "synthetic-openai-compatible",
5 "model": "mock-model",
6 "endpoint_kind": "chat_completions",
7 "provenance": {
8 "origin": "synthetic",
9 "source_commit": "f1cc43cd",
10 "captured_on": "2026-10-10",
11 "note": "Non-stream body whose arguments string holds escaped newlines and quotes; the round-trip test re-serializes the parsed call."
12 },
13 "request": {
14 "method": "POST",
15 "path": "/v1/chat/completions",
16 "header_names": [
17 "Content-Type",
18 "Authorization",
19 "Accept"
20 ],
21 "body": {
22 "model": "mock-model",
23 "stream": false,
24 "messages": [
25 {
26 "role": "user",
27 "content": "<USER_CONTENT>"
28 }
29 ]
30 }
31 },
32 "response": {
33 "status": 200,
34 "header_names": [
35 "Content-Type",
36 "Retry-After"
37 ],
38 "chunks": [
39 "{\"id\":\"x1\",\"object\":\"chat.completion\",\"c",
40 "hoices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":null,\"tool_calls\":[{\"id\":\"call_b\",\"type\":\"function\",\"function\":{\"name\":\"write_file\",\"arguments\":\"{\\\"path\\\":\\\"notes.txt\\\",\\\"content\\\":\\\"line1\\\\nline2 \\\\\\\"quoted\\\\\\\"\\\"}\"}}]},\"finish_reason\":\"tool_calls\"}]}"
41 ]
42 },
43 "expect": {
44 "class": "parsed",
45 "text": "",
46 "tool_calls": [
47 {
48 "name": "write_file",
49 "arguments": {
50 "path": "notes.txt",
51 "content": "line1\nline2 \"quoted\""
52 }
53 }
54 ],
55 "rejected": [],
56 "partial": false
57 }
58}