summaryrefslogtreecommitdiffhomepage
path: root/src/context/tools/get-current-note.json
blob: 9a0ac39d01ee032609838293d948eafbdc81bf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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": {}
			}
		}
	}
}