update_project
Modify a project's knowledge graph data or structure diagram using its unique identifier on the coderide server. Provide updated knowledge or Mermaid.js diagram to apply changes.
Instructions
Updates a project's knowledge graph data and/or its structure diagram (in Mermaid.js format). The project is identified by its unique 'slug'. At least one of 'project_knowledge' or 'project_diagram' must be provided for an update to occur.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
project_diagram | No | Optional. A string containing the project's structure diagram in Mermaid.js format. If provided, this will update the existing diagram. | |
project_knowledge | No | Optional. A JSON object representing the project's knowledge graph. If provided, this will update the existing knowledge data. | |
slug | Yes | The unique three-letter uppercase identifier for the project to be updated (e.g., 'CRD'). |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"project_diagram": {
"description": "Optional. A string containing the project's structure diagram in Mermaid.js format. If provided, this will update the existing diagram.",
"type": "string"
},
"project_knowledge": {
"description": "Optional. A JSON object representing the project's knowledge graph. If provided, this will update the existing knowledge data.",
"type": "object"
},
"slug": {
"description": "The unique three-letter uppercase identifier for the project to be updated (e.g., 'CRD').",
"pattern": "^[A-Z]{3}$",
"type": "string"
}
},
"required": [
"slug"
],
"type": "object"
}