{
  "$schema": "https://modelparams.dev/api/v1/schema.json",
  "provider": "openai",
  "authType": "api_key",
  "model": "gpt-oss-20b",
  "params": [
    {
      "path": "max_completion_tokens",
      "label": "Max tokens",
      "description": "Maximum number of output tokens the model may generate.",
      "group": "generation_length",
      "type": "integer",
      "range": {
        "min": 1,
        "max": 131072
      }
    },
    {
      "path": "temperature",
      "label": "Temperature",
      "description": "Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0.",
      "group": "sampling",
      "type": "number",
      "default": 1
    },
    {
      "path": "top_p",
      "label": "Top P",
      "description": "Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0.",
      "group": "sampling",
      "type": "number",
      "default": 1,
      "range": {
        "min": 0,
        "max": 1
      }
    },
    {
      "path": "reasoning_effort",
      "label": "Reasoning effort",
      "description": "Controls how much reasoning the model should perform before producing an answer.",
      "group": "reasoning",
      "type": "enum",
      "default": "medium",
      "values": [
        "low",
        "medium",
        "high"
      ]
    },
    {
      "path": "response_format.type",
      "label": "Response format",
      "description": "Controls whether the model returns normal text or a schema-constrained JSON object.",
      "group": "output_format",
      "type": "enum",
      "default": "text",
      "values": [
        "text",
        "json_schema"
      ]
    },
    {
      "path": "tool_choice",
      "label": "Tool choice",
      "description": "Controls whether the model may call tools, must call one, or skips tool calls.",
      "group": "tooling",
      "type": "enum",
      "values": [
        "auto",
        "none",
        "required"
      ]
    }
  ]
}
