ModelSpec
Parameters and properties
Section titled “Parameters and properties”The fields below cover all variants; the signature specifies their allowed combinations.
nameVariant-dependentstringNonempty model identifier passed unchanged to the CLI or model service; no local catalog is consulted.reasoningVariant-dependentModelReasoning | undefinedReasoning effort; omitted keeps the model default. Claude Code and Codex accept low to max, the Anthropic provider none and low to max, the OpenAI provider any level; other CLIs throw code configuration when the agent is composed.maxOutputTokensVariant-dependentnumber | undefinedPositive integer limit on output tokens per model response. Claude Code receives it as CLAUDE_CODE_MAX_OUTPUT_TOKENS, the OpenAI provider sends it with each request and the Anthropic provider requires it; Codex, Antigravity, Copilot and Kimi reject it.