Update project model grant
grant_models_editUpdate a project's overrides for its configured model; omitted fields keep current values, and null clears an override so the project inherits model settings. Changes apply on the next model call.
Instructions
Updates the project's overrides for the configured model. Omitted fields keep their current values; null clears an override so the project inherits from the configured model. The grant is live policy: agents already using the model re-apply the updated overrides on their next model call, against the configured-model revision each agent pinned at launch. Updates are validated against the configured model's current revision only, so an update can make an agent pinned to an older, incompatible revision fail its next model call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgID | Yes | ||
| projectID | Yes | ||
| modelGrantID | Yes | ||
| supports_tools | No | Project-level tool-use gate. Can disable tools, but cannot enable tools when the configured model does not support them. | |
| input_modalities | No | Project subset of configured-model input types. | |
| max_output_tokens | No | Project output-token ceiling. Cannot exceed the configured model's ceiling. | |
| output_modalities | No | Project subset of configured-model output types. | |
| supports_reasoning | No | Project-level reasoning gate. Can disable reasoning, but cannot enable reasoning when the configured model does not support it. | |
| context_window_tokens | No | Project context budget for input and output tokens. Cannot exceed the configured model's budget. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit. | |
| default_cache_retention | No | ||
| default_reasoning_effort | No | Project default reasoning effort. | |
| default_max_output_tokens | No | Project default per-request output-token cap. | |
| supported_reasoning_efforts | No | Project subset of configured-model reasoning efforts. If this excludes the inherited default_reasoning_effort, set default_reasoning_effort on the grant too. |