Files
optimclaw/tests/fixtures/llm_traces/coverage/json_operations.json
T
OutBack Dingo 6d9dbbb3b9 fork: rename IronClaw → OptimClaw
Full rename of all identifiers, filenames, and references:
  ironclaw → optimclaw
  IronClaw → OptimClaw
  IRONCLAW → OPTIMCLAW
  ironclaw_common → optimclaw_common
  ironclaw_safety → optimclaw_safety

Upstream: nearai/ironclaw
2026-03-29 06:27:52 +07:00

72 lines
1.7 KiB
JSON

{
"model_name": "test-json-ops",
"expects": {
"tools_used": ["json"],
"all_tools_succeeded": true,
"min_responses": 1
},
"steps": [
{
"request_hint": { "last_user_message_contains": "json" },
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_json_parse",
"name": "json",
"arguments": {
"operation": "parse",
"data": "{\"name\": \"optimclaw\", \"version\": 2, \"features\": [\"tools\", \"memory\"]}"
}
}
],
"input_tokens": 80,
"output_tokens": 25
}
},
{
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_json_query",
"name": "json",
"arguments": {
"operation": "query",
"data": "{\"name\": \"optimclaw\", \"version\": 2, \"features\": [\"tools\", \"memory\"]}",
"path": "features[0]"
}
}
],
"input_tokens": 120,
"output_tokens": 20
}
},
{
"response": {
"type": "tool_calls",
"tool_calls": [
{
"id": "call_json_validate",
"name": "json",
"arguments": {
"operation": "validate",
"data": "{\"valid\": true}"
}
}
],
"input_tokens": 140,
"output_tokens": 15
}
},
{
"response": {
"type": "text",
"content": "I parsed the JSON, queried the first feature ('tools'), and validated the structure. Everything looks good.",
"input_tokens": 160,
"output_tokens": 25
}
}
]
}