files_find_related
Find files that share tags with a given file, ranked by shared tag count, to surface related notes, journals, projects, or dictionaries.
Instructions
Find other files sharing tags with the given file, ranked by shared_tag_count descending. Read-only; no side effects, auth, or rate limits. Returns annotated file rows with shared_tag_count and shared_tags. Empty result means the file has no tags or no other file shares them: try files_search/files_regex_search for content-based discovery, or tags_suggest to bootstrap labels first. kind narrows to one content class. Default limit 10.
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": {
"file_id": "<file_id>"
},
"name": "files_find_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter related results to a single content class. | |
| limit | No | Maximum number of related files to return (default 10) | |
| file_id | Yes | ID of the file to find relations for |