yuque_update_resource
Update a board resource in a Yuque document by providing new text or DSL. Specify the document and resource ID.
Instructions
Update a structured resource in a Yuque document. Currently resource_type only supports board; provide exactly one of text or dsl.
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>",
"resource_id": "<resource_id>"
},
"name": "yuque_update_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. | |
| resource_id | Yes | Raw board resource ID from board://<resource_id>; do not pass the full board:// locator. | |
| text | No | New board text DSL. Mutually exclusive with dsl. | |
| dsl | No | Board JSON DSL object. It is passed through to Yuque public v2 as-is. |