diff options
| author | Adam Malczewski <[email protected]> | 2026-03-28 04:52:55 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-28 04:52:55 +0900 |
| commit | be2dee39e5bf907dfdd3462817203a08cf3c345f (patch) | |
| tree | 54861c738e8762d9313ec4431ea6f4464dec1900 /src/context/tools/get-current-note.json | |
| parent | 9ccf03b1172dec8c4b9ed2701fcff1935ae63b67 (diff) | |
| download | ai-pulse-obsidian-plugin-be2dee39e5bf907dfdd3462817203a08cf3c345f.tar.gz ai-pulse-obsidian-plugin-be2dee39e5bf907dfdd3462817203a08cf3c345f.zip | |
improve ai context
Diffstat (limited to 'src/context/tools/get-current-note.json')
| -rw-r--r-- | src/context/tools/get-current-note.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/context/tools/get-current-note.json b/src/context/tools/get-current-note.json new file mode 100644 index 0000000..9a0ac39 --- /dev/null +++ b/src/context/tools/get-current-note.json @@ -0,0 +1,19 @@ +{ + "id": "get_current_note", + "label": "Get Current Note", + "description": "Get the file path of the currently open note.", + "friendlyName": "Get Current Note", + "requiresApproval": false, + "definition": { + "type": "function", + "function": { + "name": "get_current_note", + "description": "Get the vault-relative file path of the note currently open in the editor. Use this to find out which note the user is looking at. Returns an exact path that can be used with read_file or edit_file.", + "parameters": { + "type": "object", + "required": [], + "properties": {} + } + } + } +} |
