update_context
Modify an existing context by updating its title, content, tags, category, or favorite status using the context's unique identifier.
Instructions
Update an existing context with new title, content, tags, or metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | No | New category for the context | |
content | No | New content for the context | |
context_id | Yes | The unique identifier of the context to update | |
is_favorite | No | Whether to mark the context as favorite | |
tags | No | New tags for the context | |
title | No | New title for the context |
Input Schema (JSON Schema)
{
"properties": {
"category": {
"description": "New category for the context",
"enum": [
"personal",
"work",
"research",
"templates",
"prompts",
"other"
],
"type": "string"
},
"content": {
"description": "New content for the context",
"minLength": 1,
"type": "string"
},
"context_id": {
"description": "The unique identifier of the context to update",
"format": "uuid",
"type": "string"
},
"is_favorite": {
"description": "Whether to mark the context as favorite",
"type": "boolean"
},
"tags": {
"description": "New tags for the context",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "New title for the context",
"maxLength": 200,
"minLength": 1,
"type": "string"
}
},
"required": [
"context_id"
],
"type": "object"
}