Update Context
oi.contexts.updateUpdate an existing private Oi Context draft in the current organization, including plaintext license metadata. Pass action=release to release the updated draft.
Plan and Billing
Current organization plan: Business. Current limits: 10,000 seats; 10,000 private Guardrails; 10,000 private Skills; 10,000 private Contexts; 10,000 private Workflows; 10,000 Connections; 10,000 API keys; 1,000,000 Agent messages per day; 1,000,000 Agent messages per month. Billing and upgrades: https://app.oioioi.ai/dashboard/organization/billing. When a user asks for work that exceeds the current plan or an unavailable paid capability, do the portion available on the current plan, clearly say what is blocked by the plan, and include the billing link for upgrading. Do not invent exceptions, temporary limit increases, prices, or hidden capabilities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional Context name. | |
| slug | No | Optional organization-unique slug using lowercase letters, numbers, and hyphens. | |
| tags | No | Optional tags. | |
| action | No | Optional update action. Omit to save draft metadata only. | |
| skills | No | Optional skill identifiers. | |
| content | No | Optional markdown Context content. | |
| enabled | No | Whether the Context is enabled. | |
| license | No | Optional plaintext license or reuse terms for this Context. | |
| contextId | Yes | Context id or slug to update. Use a latest mutable Context, not a multi-context selector. | |
| categories | No | Optional category labels. | |
| sourceSlug | No | Optional source repository or public Context slug for provenance. | |
| syncEnabled | No | Whether future source sync should be enabled. | |
| privateContent | No | Optional private markdown instructions for this organization. | |
| shortDescription | No | Optional short summary. | |
| sourceOrganizationSlug | No | Optional source owner slug for provenance. | |
| suggestedFollowUpsEnabled | No | Whether clients may suggest follow-up prompts. | |
| allowRuntimeInstructionUpdates | No | Whether runtime feedback may update private instructions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes |