Create Context
oi.contexts.createCreate an Oi Context in the current organization. By default this creates a private draft; publish: true releases the initial version and publishes it publicly. Use this only when the user explicitly asks to create or import a Context and has confirmed the source license permits reuse. Prefer markdown content in content; use privateContent for organization-private instructions that should not be published.
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 | Yes | Context name. | |
| slug | No | Optional organization-unique slug using lowercase letters, numbers, and hyphens. | |
| tags | No | Optional tags. | |
| skills | No | Optional skill identifiers. | |
| content | No | Markdown Context content. | |
| enabled | No | Whether the Context is enabled. | |
| license | No | Optional plaintext license or reuse terms for this Context. | |
| publish | No | Whether to release the initial draft as version 1 and publish it publicly after creation. Use only when the source license permits publication. | |
| release | No | Whether to release the initial draft as version 1 after creation. | |
| 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 |