✓ PASS

any-llm 1.40.2

tools.parallel-calls · openai-chat

Back to results · Scenario

Requirements

IdLevelStatusEvidence
calls-reportedMUSTSATISFIEDtool_calls[0] id="call_gifFYLZQ2j3QiuvoOPcTShyU", name="get_weather", args={"city": "São Paulo"}, parsed=true; truth id="call_gifFYLZQ2j3QiuvoOPcTShyU", name="get_weather", args={"city": "São Paulo"}, parsed=true; tool_calls[1] id="call_I9DySbUQ1DtJm3eqpLVWk4Ek", name="get_weather", args={"city": "Zürich"}, parsed=true; truth id="call_I9DySbUQ1DtJm3eqpLVWk4Ek", name="get_weather", args={"city": "Zürich"}, parsed=true

What the provider sent

Finish
tool_calls
Raw finish
tool_calls
Text
null
Tool calls
[
  {
    "arguments": {
      "city": "São Paulo"
    },
    "arguments_parsed_ok": true,
    "arguments_raw": "{\"city\": \"São Paulo\"}",
    "id": "call_gifFYLZQ2j3QiuvoOPcTShyU",
    "name": "get_weather"
  },
  {
    "arguments": {
      "city": "Zürich"
    },
    "arguments_parsed_ok": true,
    "arguments_raw": "{\"city\": \"Zürich\"}",
    "id": "call_I9DySbUQ1DtJm3eqpLVWk4Ek",
    "name": "get_weather"
  }
]
Usage
{
  "alternatives": {},
  "cached_input": 0,
  "input": 147,
  "output": 50,
  "raw": {
    "completion_tokens": 50,
    "completion_tokens_details": {
      "accepted_prediction_tokens": 0,
      "audio_tokens": 0,
      "reasoning_tokens": 0,
      "rejected_prediction_tokens": 0
    },
    "prompt_tokens": 147,
    "prompt_tokens_details": {
      "audio_tokens": 0,
      "cache_write_tokens": 0,
      "cached_tokens": 0
    },
    "total_tokens": 197
  },
  "reasoning": 0,
  "total": 197
}
Stream completed
null
Error
null
Wire excerpt
status: 200
content-type: application/json
body (json):
{
  "id": "chatcmpl-EXmWVBwju3WT5EB23M4qr9VhXxjhN",
  "object": "chat.completion",
  "created": 1791720055,
  "model": "gpt-6-luna",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "tool_calls": [
          {
            "id": "call_gifFYLZQ2j3QiuvoOPcTShyU",
            "type": "function",
            "function": {
              "name": "get_weather",
              "arguments": "{\"city\": \"São Paulo\"}"
            }
          },
          {
            "id": "call_I9DySbUQ1DtJm3eqpLVWk4Ek",
            "type": "function",
            "function": {
              "name": "get_weather",
              "arguments": "{\"city\": \"Zürich\"}"
            }
          }
        ],
        "refusal": null,
        "annotations": []
      },
      "finish_reason": "tool_calls"
    }
  ],
  "usage": {
    "prompt_tokens": 147,
    "completion_tokens": 50,
    "total_tokens": 197,
    "prompt_tokens_details": {
      "cached_tokens": 0,
      "cache_write_tokens": 0,
      "audio_tokens": 0
    },
    "completion_tokens_details": {
      "reasoning_tokens": 0,
      "audio_tokens": 0,
      "accepted_prediction_tokens": 0,
      "rejected_prediction_tokens": 0
    }
  },
  "service_tier": "default",
  "system_fingerprint": null
}

What the library reported

Outcome
returned
Finish
{
  "raw": "tool_calls",
  "source": "choices[0].finish_reason",
  "surface": "primary",
  "value": "tool_calls"
}
Text
Value
null
Surface
absent
Tool calls
[
  {
    "arguments": {
      "city": "São Paulo"
    },
    "arguments_parsed_ok": true,
    "arguments_raw": "{\"city\": \"São Paulo\"}",
    "id": "call_gifFYLZQ2j3QiuvoOPcTShyU",
    "name": "get_weather"
  },
  {
    "arguments": {
      "city": "Zürich"
    },
    "arguments_parsed_ok": true,
    "arguments_raw": "{\"city\": \"Zürich\"}",
    "id": "call_I9DySbUQ1DtJm3eqpLVWk4Ek",
    "name": "get_weather"
  }
]
Usage
{
  "cached_input": 0,
  "input": 147,
  "output": 50,
  "reasoning": 0,
  "surface": {
    "cached_input": "primary",
    "input": "primary",
    "output": "primary",
    "reasoning": "primary",
    "total": "primary"
  },
  "total": 197
}
Stream
{
  "chunks_seen": null,
  "completed": null,
  "used": false
}
Error
null
Unsupported reason
null
Full observation JSON
{
  "elapsed_ms": 152.96803507953882,
  "error": null,
  "finish": {
    "raw": "tool_calls",
    "source": "choices[0].finish_reason",
    "surface": "primary",
    "value": "tool_calls"
  },
  "format": "wiretruth.observation/v1",
  "library": {
    "api": "any_llm.completion",
    "language": "python",
    "name": "any-llm",
    "version": "1.40.2"
  },
  "notes": [],
  "outcome": "returned",
  "stream": {
    "chunks_seen": null,
    "completed": null,
    "used": false
  },
  "structured": {
    "attempted": false,
    "returned_as_success": false,
    "value": null
  },
  "text": {
    "surface": "absent",
    "value": null
  },
  "tool_calls": [
    {
      "arguments": {
        "city": "São Paulo"
      },
      "arguments_parsed_ok": true,
      "arguments_raw": "{\"city\": \"São Paulo\"}",
      "id": "call_gifFYLZQ2j3QiuvoOPcTShyU",
      "name": "get_weather"
    },
    {
      "arguments": {
        "city": "Zürich"
      },
      "arguments_parsed_ok": true,
      "arguments_raw": "{\"city\": \"Zürich\"}",
      "id": "call_I9DySbUQ1DtJm3eqpLVWk4Ek",
      "name": "get_weather"
    }
  ],
  "unsupported_reason": null,
  "usage": {
    "cached_input": 0,
    "input": 147,
    "output": 50,
    "reasoning": 0,
    "surface": {
      "cached_input": "primary",
      "input": "primary",
      "output": "primary",
      "reasoning": "primary",
      "total": "primary"
    },
    "total": 197
  }
}

Fixture

recorded openai-chat/tools.parallel-calls

ProvenanceValue
Recorded at2026-10-11T12:00:55Z
Requested modelgpt-6-luna
Returned modelgpt-6-luna
CI runhttps://github.com/kartsan03/wiretruth/actions/runs/38137650119

Reproduce

wiretruth serve openai-chat/tools.parallel-calls

Plain-library snippet from the shim manifest.

any_llm.completion(model=model, provider='openai', api_base=WIRETRUTH_BASE_URL_OPENAI_CHAT, api_key=WIRETRUTH_API_KEY)

Upstream

No matching upstream report.

History

VersionGrade
1.40.2✓ PASS
1.38.0✓ PASS
1.33.0✓ PASS