Doco Create Relation
doco_create_relationCreate an explicit, auditable typed relation from a source block to a target doco URI. The server checks permissions and block existence before adding the link.
Instructions
从稳定来源块创建一条显式、可审计的类型关系。target_uri 使用 doco://doc/{id}#block={block_id};创建前服务端校验两端权限与块存在性。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| predicate | No | Relationship type to filter or create. | |
| target_uri | Yes | Doco URI of the target document or block. | |
| anchor_text | No | Optional human-readable text anchoring the relation. | |
| idempotency_key | No | Optional key that makes a retried write safe. | |
| source_block_id | Yes | Stable ID of the source block. | |
| source_document_id | Yes | Document containing the source block. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||