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 / conformance / fixtures / 02-malformed-arguments.json

74 lines · 1753 bytes Raw Blame History
1{
2 "case": "02-malformed-arguments",
3 "description": "Two calls Lenshift cannot understand: arguments that are not JSON, and arguments that are a JSON array. Both are rejected as malformed_tool_call and never reach the runtime.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-02",
8 "steps": [
9 {
10 "turn": 0,
11 "dialect": "openai",
12 "model": "mock-model",
13 "input": {
14 "role": "assistant",
15 "content": null,
16 "tool_calls": [
17 {
18 "id": "call_02a",
19 "type": "function",
20 "function": {
21 "name": "read_file",
22 "arguments": "{not json"
23 }
24 },
25 {
26 "id": "call_02b",
27 "type": "function",
28 "function": {
29 "name": "read_file",
30 "arguments": "[1, 2, 3]"
31 }
32 }
33 ]
34 }
35 }
36 ],
37 "expected": {
38 "observed": [
39 {
40 "request_id": "call_02a",
41 "stage": "REJECTED",
42 "decision": null,
43 "status": "rejected",
44 "error_code": "malformed_tool_call",
45 "decide_invoked": false,
46 "execute_invoked": false,
47 "result_digest": null
48 },
49 {
50 "request_id": "call_02b",
51 "stage": "REJECTED",
52 "decision": null,
53 "status": "rejected",
54 "error_code": "malformed_tool_call",
55 "decide_invoked": false,
56 "execute_invoked": false,
57 "result_digest": null
58 }
59 ],
60 "turns": [
61 {
62 "turn": 0,
63 "outcome": "rejected",
64 "intents": 0,
65 "rejected": 2,
66 "text": ""
67 }
68 ],
69 "runtime": {
70 "decide_calls": 0,
71 "execute_calls": 0
72 }
73 }
74}