zk_create_link
Establishes a link between two notes in a Zettelkasten system, defining connection types like reference, extends, or contradicts. Supports bidirectional linking and optional descriptions for clarity.
Instructions
Create a link between two notes. Args: source_id: ID of the source note target_id: ID of the target note link_type: Type of link (reference, extends, refines, contradicts, questions, supports, related) description: Optional description of the link bidirectional: Whether to create a link in both directions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bidirectional | No | ||
description | No | ||
link_type | No | reference | |
source_id | Yes | ||
target_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bidirectional": {
"default": false,
"title": "Bidirectional",
"type": "boolean"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"link_type": {
"default": "reference",
"title": "Link Type",
"type": "string"
},
"source_id": {
"title": "Source Id",
"type": "string"
},
"target_id": {
"title": "Target Id",
"type": "string"
}
},
"required": [
"source_id",
"target_id"
],
"title": "zk_create_linkArguments",
"type": "object"
}