-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathFunctionDefinitionReadonly.json
More file actions
62 lines (62 loc) · 2.45 KB
/
Copy pathFunctionDefinitionReadonly.json
File metadata and controls
62 lines (62 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"name": "execute_kip_readonly",
"description": "Executes one or more read-only KIP (Knowledge Interaction Protocol) commands (e.g. FIND, SEARCH, DESCRIBE, EXPORT) against the Cognitive Nexus to query from your persistent memory.",
"parameters": {
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "A single complete read-only KIP command (FIND / SEARCH / DESCRIBE / EXPORT). Mutually exclusive with commands."
},
"commands": {
"type": "array",
"description": "An array of read-only KIP commands (FIND / SEARCH / DESCRIBE / EXPORT) for batch execution (reduces round-trips). Commands are executed sequentially; per-command errors are returned inline without aborting the batch. KML commands (UPSERT / UPDATE / MERGE / DELETE) are rejected by this endpoint.",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "object",
"properties": {
"command": {
"type": "string",
"description": "A complete read-only KIP command with parameters scoped to this command."
},
"parameters": {
"type": "object",
"description": "Optional parameters for this command. These override shared parameters with the same keys."
}
},
"required": [
"command"
],
"additionalProperties": false
}
]
}
},
"parameters": {
"type": "object",
"description": "An optional JSON object of key-value pairs used for safe substitution of placeholders in the command string(s). Placeholders should start with ':' (e.g., :name, :limit). IMPORTANT: A placeholder must occupy a complete KIP value position (e.g., name: :name, LIMIT :limit, or SEARCH CONCEPT :term). Do not embed placeholders inside quoted strings (e.g., \"Hello :name\"), because substitution uses JSON serialization."
},
"dry_run": {
"type": "boolean",
"description": "If set to true, the command(s) will only be validated for syntactical and logical correctness without being executed."
}
},
"oneOf": [
{
"required": [
"command"
]
},
{
"required": [
"commands"
]
}
],
"additionalProperties": false
}
}