# OpenAI Responses API function_call output call_id arguments documentation

Status: search-observed
Product: OpenAI API
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/openai-responses-api-function-call-output-call-id-arguments-documentation
Machine JSON: https://gitdocs.org/api/fixes/openai-responses-api-function-call-output-call-id-arguments-documentation.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

SDK types may still accept fields that the selected hosted model rejects; model retirement, tokenizer, thinking, and tool behavior are external and fast-moving.

## Fix

```
Verifier checks current model ID, accepted payload, structured output/tool parsing, and behavior under retries.
```

## Avoid

- Changing local code without checking the current external contract.
- Retrying the same install, build, or API call with no version/source change.
- Applying a broad unsafe bypass when a narrow compatibility fix is available.

## Observed Codex Queries

- site:platform.openai.com/docs/api-reference/responses output function_call call_id arguments Responses API tool call OpenAI
- OpenAI Responses API function_call output call_id arguments documentation
- https://platform.openai.com/docs/api-reference/responses/object
- 'function_call' in https://platform.openai.com/docs/api-reference/responses/object
- https://platform.openai.com/docs/assistants/migration
- https://platform.openai.com/docs/api-reference/runs/step-object
- 'tool_calls' in https://platform.openai.com/docs/api-reference/run-steps
- https://platform.openai.com/docs/guides/tools-code-interpreter
- 'code_interpreter_call' in https://platform.openai.com/docs/guides/tools-code-interpreter
- 'code_interpreter_call: object' in https://platform.openai.com/docs/api-reference/responses/object

## Sources

- OpenAI new tools for building agents: https://openai.com/index/new-tools-for-building-agents/
- Official reference opened by Codex: https://platform.openai.com/docs/api-reference/responses/object
- Official reference opened by Codex: https://platform.openai.com/docs/assistants/migration
- Official reference opened by Codex: https://platform.openai.com/docs/api-reference/runs/step-object
- Official reference opened by Codex: https://platform.openai.com/docs/guides/tools-code-interpreter
