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 / 01-valid-tool-request.json

66 lines · 1452 bytes Raw Blame History
1{
2 "case": "01-valid-tool-request",
3 "description": "A well-formed OpenAI read_file call is mapped, authorized by the mock runtime and executed.",
4 "limits": {
5 "max_argument_bytes": 65536
6 },
7 "trace_id": "trace-01",
8 "steps": [
9 {
10 "turn": 0,
11 "dialect": "openai",
12 "model": "mock-model",
13 "input": {
14 "role": "assistant",
15 "content": "I will read the file.",
16 "tool_calls": [
17 {
18 "id": "call_01a",
19 "type": "function",
20 "function": {
21 "name": "read_file",
22 "arguments": "{\"path\": \"/tmp/a.txt\"}"
23 }
24 }
25 ]
26 }
27 }
28 ],
29 "expected": {
30 "observed": [
31 {
32 "request_id": "call_01a",
33 "stage": "SUCCEEDED",
34 "decision": "authorized",
35 "status": "ok",
36 "error_code": null,
37 "decide_invoked": true,
38 "execute_invoked": true,
39 "result_digest": null
40 }
41 ],
42 "turns": [
43 {
44 "turn": 0,
45 "outcome": "tool_request",
46 "intents": 1,
47 "rejected": 0,
48 "text": "I will read the file."
49 }
50 ],
51 "runtime": {
52 "decide_calls": 1,
53 "execute_calls": 1
54 },
55 "result_checks": [
56 {
57 "request_id": "call_01a",
58 "path": "data",
59 "equals": {
60 "path": "/tmp/a.txt",
61 "content": "mock content of /tmp/a.txt"
62 }
63 }
64 ]
65 }
66}