Save Feedback To Draft
oi.contexts.save-draft-feedbackSave confirmed durable feedback into the active private Context draft for a single latest Context. Do not use this for multi-context selectors or version-pinned Contexts. When runtime instruction updates are enabled, Oi may save confirmed future guidance under Private using subheadings if needed. Structured-only metadata such as suggested prompts, categories, tags, platform instructions, and capabilities stays preserved unless another structured write path updates it. Only use it after the user confirms, and only for repeated corrections or updated logic that should change future behavior. Never use it for one-off task details, temporary debugging context, secrets, credentials, or other sensitive information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model identifier to attach to analytics for this draft save. | |
| runtime | No | Optional client runtime that produced the feedback, such as codex or chatgpt. | |
| feedback | Yes | Durable behavior guidance that should change how this Context responds in the future. | |
| provider | No | Optional model provider name to attach to analytics for this draft save. | |
| confirmed | Yes | Must be true to confirm the feedback is durable and should be written to the draft. | |
| contextId | Yes | The latest mutable Context draft that should absorb the confirmed feedback. | |
| contextName | No | Optional end-user facing context label that produced or confirmed the feedback. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| context | Yes | ||
| draftAction | Yes | ||
| usageEventId | Yes |