yuque_create_resource
Create a mindmap, flowchart, or architecture diagram in a Yuque document by providing board DSL content and specifying the resource type.
Instructions
Create a structured resource in a Yuque document. Currently resource_type only supports board: mindmap, flowchart, or architecturediagram.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resource_type": "<resource_type>",
"type": "<type>",
"dsl": "<dsl>"
},
"name": "yuque_create_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_type | Yes | Resource type. Currently only board is supported. | |
| doc_id | No | Yuque document ID. Provide either doc_id or url, but not both. | |
| url | No | Yuque document URL. Provide either url or doc_id, but not both. | |
| type | Yes | Board type: mindmap, flowchart, or architecturediagram. | |
| dsl | Yes | Board text DSL content. | |
| insert_after_lake_id | No | Insert after a top-level Lake node. Omit to append to the document end. |