knowmind 0.3.4 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,466 @@
1
+ {
2
+ "_hinweis": "Rückfall für tools/list, wenn die Discovery nicht erreichbar ist. Erzeugt aus https://knowmind.de/api/mcp/v1. Abgleich: npm run tools:abgleich",
3
+ "stand": "2026-09-07",
4
+ "quelle": "https://knowmind.de/api/mcp/v1",
5
+ "protocolVersion": "2025-06-18",
6
+ "tools": [
7
+ {
8
+ "name": "knowmind_recall",
9
+ "annotations": {
10
+ "title": "Recall - retrieve knowledge",
11
+ "readOnlyHint": true,
12
+ "destructiveHint": false,
13
+ "idempotentHint": true,
14
+ "openWorldHint": false
15
+ },
16
+ "description": "Retrieve relevant knowledge before answering anything that benefits from prior context - decisions, preferences, project state, people, deadlines, past conversations. Hybrid recall (BM25 + pgvector + graph hops) over the tenant corpus; returns the top-k memory chunks, each with a relevance score and source reference. Suitable whenever earlier context would improve the answer; use knowmind_recall_at_time when you need what was valid at a past point in time. Read scope suffices.",
17
+ "inputSchema": {
18
+ "type": "object",
19
+ "properties": {
20
+ "query": {
21
+ "type": "string",
22
+ "description": "Natural-language question; full sentences retrieve better than keywords."
23
+ },
24
+ "k": {
25
+ "type": "integer",
26
+ "minimum": 1,
27
+ "maximum": 25,
28
+ "default": 5,
29
+ "description": "Number of chunks to return (1-25, default 5)."
30
+ },
31
+ "hops": {
32
+ "type": "integer",
33
+ "minimum": 0,
34
+ "maximum": 3,
35
+ "default": 2,
36
+ "description": "Graph expansion depth over typed relations (0-3, default 2); 0 = text/vector only, no graph."
37
+ }
38
+ },
39
+ "required": [
40
+ "query"
41
+ ]
42
+ }
43
+ },
44
+ {
45
+ "name": "knowmind_health",
46
+ "annotations": {
47
+ "title": "Service health",
48
+ "readOnlyHint": true,
49
+ "destructiveHint": false,
50
+ "idempotentHint": true,
51
+ "openWorldHint": false
52
+ },
53
+ "description": "Return the health of the knowmind backend (Postgres, memory service, graph). Use before a batch of writes or when calls fail, to tell an outage apart from an empty result. Returns a status object per component. Read scope suffices; takes no parameters.",
54
+ "inputSchema": {
55
+ "type": "object",
56
+ "properties": {}
57
+ }
58
+ },
59
+ {
60
+ "name": "knowmind_stats",
61
+ "annotations": {
62
+ "title": "Corpus statistics",
63
+ "readOnlyHint": true,
64
+ "destructiveHint": false,
65
+ "idempotentHint": true,
66
+ "openWorldHint": false
67
+ },
68
+ "description": "Return current counts for the tenant corpus: memories, graph edges and vector chunks. Use to gauge how much has been stored; for the actual entries use knowmind_list_recent or knowmind_recall. Read scope suffices; takes no parameters.",
69
+ "inputSchema": {
70
+ "type": "object",
71
+ "properties": {}
72
+ }
73
+ },
74
+ {
75
+ "name": "knowmind_list_recent",
76
+ "annotations": {
77
+ "title": "Recent entries",
78
+ "readOnlyHint": true,
79
+ "destructiveHint": false,
80
+ "idempotentHint": true,
81
+ "openWorldHint": false
82
+ },
83
+ "description": "List the most recently created documents/memories in the tenant corpus, newest first (by created_at). Same corpus that recall searches. Use to review what was just stored or confirm a write landed; use knowmind_recall when you already know what you are looking for. Graph-only entities without a timestamp do not appear, so this count intentionally differs from stats.memories. Read scope suffices.",
84
+ "inputSchema": {
85
+ "type": "object",
86
+ "properties": {
87
+ "k": {
88
+ "type": "integer",
89
+ "minimum": 1,
90
+ "maximum": 50,
91
+ "default": 10,
92
+ "description": "Number of newest entries to return (1-50, default 10)."
93
+ }
94
+ }
95
+ }
96
+ },
97
+ {
98
+ "name": "knowmind_store_memory",
99
+ "annotations": {
100
+ "title": "Store memory",
101
+ "readOnlyHint": false,
102
+ "destructiveHint": false,
103
+ "idempotentHint": false,
104
+ "openWorldHint": false
105
+ },
106
+ "description": "Store durable insights the moment they arise - decisions, preferences, facts, results, appointments. Persists one memory entry in the tenant corpus (Postgres + vector index + graph node), afterwards findable via knowmind_recall and knowmind_list_recent. Append-only: the same title replaces nothing (use knowmind_update_fact to supersede); sha-identical content is detected as idempotent (unchanged). Returns the new memory id. Use for a single short fact; for long or multi-fact text use knowmind_upload_document. GIVE THE EDGES ALONG: whatever the text says about people, organisations, projects, hosts or technologies belongs into `relations` in THIS call - name the counterpart, the server creates its node and the edge, no second call needed. A memory without edges is a note; with edges it becomes a graph that answers questions nobody wrote down. Use knowmind_link separately only to connect two entries that already exist. Requires write scope.",
107
+ "inputSchema": {
108
+ "type": "object",
109
+ "properties": {
110
+ "title": {
111
+ "type": "string",
112
+ "description": "Short human-readable title (a few words). Not a uniqueness key - duplicate titles create separate entries."
113
+ },
114
+ "content": {
115
+ "type": "string",
116
+ "description": "The memory text. Keep it to one atomic fact per entry so it stays retrievable and updatable."
117
+ },
118
+ "memory_type": {
119
+ "type": "string",
120
+ "enum": [
121
+ "semantic",
122
+ "episodic",
123
+ "procedural",
124
+ "reference"
125
+ ],
126
+ "default": "semantic",
127
+ "description": "Kind of memory: semantic (durable fact), episodic (event), procedural (how-to), reference (pointer to a resource). Default semantic."
128
+ },
129
+ "tags": {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "string"
133
+ },
134
+ "description": "Free-text keywords for later filtering (lowercase, no spaces recommended)."
135
+ },
136
+ "source": {
137
+ "type": "string",
138
+ "description": "Where this came from - URL, file path, or a short note. Free text, stored for provenance."
139
+ },
140
+ "domain": {
141
+ "type": "string",
142
+ "description": "Knowledge domain this entry belongs to, by its short key (e.g. 'sales', 'engineering'). Unknown keys are ignored and the entry stays unassigned - it is never guessed into a domain."
143
+ },
144
+ "relations": {
145
+ "type": "array",
146
+ "description": "Edges from this entry to the things it talks about - set them HERE, in the same call. Name the counterpart in plain words; the server finds or creates its node and draws the edge, so you need neither knowmind_recall nor knowmind_entity nor knowmind_link for it. Example: storing 'Anna Meier leitet die IT bei der Muster GmbH' carries [{predicate: 'WORKS_FOR', object: 'Muster GmbH', object_class: 'Organization'}]. An entry without edges is a note; with edges it answers questions nobody wrote down. Allowed predicate values: ABOUT (Contract|Document|FileResource → Topic), CLIENT_OF (Agent|Organization|Person|SoftwareAgent → Organization), CONTACT_PERSON_FOR (Person → Organization), COVERED_BY (Topic → Contract|Document|FileResource), DELIVERED_AS (Application → Product), DELIVERED_BY (Product → Application), DEPENDS_ON (Application → Application), DEPLOYED_TO (Application → Container), DEVELOPED_BY (Application → Agent|Organization|Person|SoftwareAgent), DEVELOPS (Agent|Organization|Person|SoftwareAgent → Application), ENABLES (Application → Application), FOR_CLIENT (Project → Agent|Organization|Person|SoftwareAgent), HAS_CHILD (Person → Person), HAS_CLIENT (Organization → Agent|Organization|Person|SoftwareAgent), HAS_CONTACT_PERSON (Organization → Person), HAS_EMPLOYEE (Organization → Person), HAS_OPERATED_APPLICATION (Agent|Organization|Person|SoftwareAgent → Application), HAS_PARENT (Person → Person), HAS_PROJECT (Agent|Organization|Person|SoftwareAgent → Project), HAS_ROLE (Person → Role), HAS_SIBLING (Person → Person), HAS_SKILL (Agent|Organization|Person|SoftwareAgent → Skill), HOSTED_ON (Container → Host), HOSTS (Host → Container), HOSTS_APPLICATION (Container → Application), INFRASTRUCTURE_PROVIDED_BY (Host → Organization), INTEGRATES_WITH (Application → Application), IS_LED_BY (Organization → Person), KNOWS (Person → Person), LEADS (Person → Organization), OPERATED_FOR (Application → Agent|Organization|Person|SoftwareAgent), PAID_BY (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PARTNER_OF (Organization → Organization), PAYS (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PRODUCED_BY (Contract|Document|FileResource → Project), PRODUCES (Project → Contract|Document|FileResource), PROVIDES_INFRASTRUCTURE (Organization → Host), ROLE_OF (Role → Person), SERVED_UNDER (Application → Domain), SERVES (Domain → Application), SKILL_OF (Skill → Agent|Organization|Person|SoftwareAgent), SPOUSE_OF (Person → Person), SUPPLIED_BY (Agent|Organization|Person|SoftwareAgent → Organization), SUPPLIES (Organization → Agent|Organization|Person|SoftwareAgent), SUPPLIES_TECHNOLOGY (Organization → Technology), SUPPORTED_BY (Contract|Document|FileResource → Contract|Document|FileResource), SUPPORTS (Contract|Document|FileResource → Contract|Document|FileResource), TECHNOLOGY_SUPPLIED_BY (Technology → Organization), TECHNOLOGY_USED_BY (Technology → Application), USES_TECHNOLOGY (Application → Technology), WORKED_ON_BY (Project → Agent|Organization|Person|SoftwareAgent), WORKS_FOR (Person → Organization), WORKS_ON (Agent|Organization|Person|SoftwareAgent → Project)",
147
+ "items": {
148
+ "type": "object",
149
+ "properties": {
150
+ "predicate": {
151
+ "type": "string",
152
+ "description": "Edge type in UPPER_SNAKE_CASE from the allowed list."
153
+ },
154
+ "object": {
155
+ "type": "string",
156
+ "description": "Proper name of the counterpart, as it would be written in a document ('Muster GmbH', not 'the client')."
157
+ },
158
+ "object_class": {
159
+ "type": "string",
160
+ "description": "Class of the counterpart (Person, Organization, Application, Host, Technology, ...). Pick it from knowmind_schema."
161
+ },
162
+ "object_description": {
163
+ "type": "string",
164
+ "description": "One sentence about the counterpart, used when its node has to be created. Optional."
165
+ },
166
+ "confidence": {
167
+ "type": "number",
168
+ "description": "Edge confidence in [0..1]; 1.0 for a fact stated verbatim, 0.7 for a clear paraphrase. Below that, leave the edge out."
169
+ }
170
+ },
171
+ "required": [
172
+ "predicate",
173
+ "object"
174
+ ]
175
+ }
176
+ }
177
+ },
178
+ "required": [
179
+ "content"
180
+ ]
181
+ }
182
+ },
183
+ {
184
+ "name": "knowmind_upload_document",
185
+ "annotations": {
186
+ "title": "Upload document",
187
+ "readOnlyHint": false,
188
+ "destructiveHint": false,
189
+ "idempotentHint": false,
190
+ "openWorldHint": false
191
+ },
192
+ "description": "Ingest a longer text as one document into the tenant corpus: chunk splitting, embeddings, vector chunks and graph nodes. Upsert-by-title: if a document with the same title exists, the new version replaces the old one (server default). Use for long-form or multi-fact content (a report, a page, a doc); for a single short fact use knowmind_store_memory. Returns the document id and the number of chunks written. AFTER INGESTING: extract the facts the text states about people, organisations, projects, products, technologies and hosts, and create the corresponding edges via knowmind_link. Requires write scope.",
193
+ "inputSchema": {
194
+ "type": "object",
195
+ "properties": {
196
+ "title": {
197
+ "type": "string",
198
+ "description": "Document title. Acts as the upsert key - an existing document with the same title is replaced."
199
+ },
200
+ "content": {
201
+ "type": "string",
202
+ "description": "Full document text (Markdown or plain); chunked and embedded server-side."
203
+ },
204
+ "source": {
205
+ "type": "string",
206
+ "description": "Origin - URL or file path. Free text, stored for provenance."
207
+ },
208
+ "relations": {
209
+ "type": "array",
210
+ "description": "Edges from this document to the things it talks about - set them HERE, in the same call. Name the counterpart in plain words; the server finds or creates its node and draws the edge. Allowed predicate values: ABOUT (Contract|Document|FileResource → Topic), CLIENT_OF (Agent|Organization|Person|SoftwareAgent → Organization), CONTACT_PERSON_FOR (Person → Organization), COVERED_BY (Topic → Contract|Document|FileResource), DELIVERED_AS (Application → Product), DELIVERED_BY (Product → Application), DEPENDS_ON (Application → Application), DEPLOYED_TO (Application → Container), DEVELOPED_BY (Application → Agent|Organization|Person|SoftwareAgent), DEVELOPS (Agent|Organization|Person|SoftwareAgent → Application), ENABLES (Application → Application), FOR_CLIENT (Project → Agent|Organization|Person|SoftwareAgent), HAS_CHILD (Person → Person), HAS_CLIENT (Organization → Agent|Organization|Person|SoftwareAgent), HAS_CONTACT_PERSON (Organization → Person), HAS_EMPLOYEE (Organization → Person), HAS_OPERATED_APPLICATION (Agent|Organization|Person|SoftwareAgent → Application), HAS_PARENT (Person → Person), HAS_PROJECT (Agent|Organization|Person|SoftwareAgent → Project), HAS_ROLE (Person → Role), HAS_SIBLING (Person → Person), HAS_SKILL (Agent|Organization|Person|SoftwareAgent → Skill), HOSTED_ON (Container → Host), HOSTS (Host → Container), HOSTS_APPLICATION (Container → Application), INFRASTRUCTURE_PROVIDED_BY (Host → Organization), INTEGRATES_WITH (Application → Application), IS_LED_BY (Organization → Person), KNOWS (Person → Person), LEADS (Person → Organization), OPERATED_FOR (Application → Agent|Organization|Person|SoftwareAgent), PAID_BY (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PARTNER_OF (Organization → Organization), PAYS (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PRODUCED_BY (Contract|Document|FileResource → Project), PRODUCES (Project → Contract|Document|FileResource), PROVIDES_INFRASTRUCTURE (Organization → Host), ROLE_OF (Role → Person), SERVED_UNDER (Application → Domain), SERVES (Domain → Application), SKILL_OF (Skill → Agent|Organization|Person|SoftwareAgent), SPOUSE_OF (Person → Person), SUPPLIED_BY (Agent|Organization|Person|SoftwareAgent → Organization), SUPPLIES (Organization → Agent|Organization|Person|SoftwareAgent), SUPPLIES_TECHNOLOGY (Organization → Technology), SUPPORTED_BY (Contract|Document|FileResource → Contract|Document|FileResource), SUPPORTS (Contract|Document|FileResource → Contract|Document|FileResource), TECHNOLOGY_SUPPLIED_BY (Technology → Organization), TECHNOLOGY_USED_BY (Technology → Application), USES_TECHNOLOGY (Application → Technology), WORKED_ON_BY (Project → Agent|Organization|Person|SoftwareAgent), WORKS_FOR (Person → Organization), WORKS_ON (Agent|Organization|Person|SoftwareAgent → Project)",
211
+ "items": {
212
+ "type": "object",
213
+ "properties": {
214
+ "predicate": {
215
+ "type": "string",
216
+ "description": "Edge type in UPPER_SNAKE_CASE from the allowed list."
217
+ },
218
+ "object": {
219
+ "type": "string",
220
+ "description": "Proper name of the counterpart."
221
+ },
222
+ "object_class": {
223
+ "type": "string",
224
+ "description": "Class of the counterpart (Person, Organization, Application, Host, Technology, ...)."
225
+ },
226
+ "object_description": {
227
+ "type": "string",
228
+ "description": "One sentence about the counterpart, used when its node has to be created. Optional."
229
+ },
230
+ "confidence": {
231
+ "type": "number",
232
+ "description": "Edge confidence in [0..1]."
233
+ }
234
+ },
235
+ "required": [
236
+ "predicate",
237
+ "object"
238
+ ]
239
+ }
240
+ }
241
+ },
242
+ "required": [
243
+ "content"
244
+ ]
245
+ }
246
+ },
247
+ {
248
+ "name": "knowmind_update_fact",
249
+ "annotations": {
250
+ "title": "Update fact (bi-temporal)",
251
+ "readOnlyHint": false,
252
+ "destructiveHint": false,
253
+ "idempotentHint": false,
254
+ "openWorldHint": false
255
+ },
256
+ "description": "Supersede a known fact without losing history: the existing memory gets valid_to=now, a new memory with valid_from=now is created and linked via SUPERSEDES. Use this instead of knowmind_store_memory when a fact CHANGES (address moved, contract renewed) - old statements are marked outdated, not deleted, so the timeline stays auditable and queryable via knowmind_recall_at_time. Returns the new memory id. Requires write scope.",
257
+ "inputSchema": {
258
+ "type": "object",
259
+ "properties": {
260
+ "target_id": {
261
+ "type": "string",
262
+ "description": "ID of the memory to supersede; get it via knowmind_recall - never invent it."
263
+ },
264
+ "new_title": {
265
+ "type": "string",
266
+ "description": "Title of the new, now-valid memory."
267
+ },
268
+ "new_content": {
269
+ "type": "string",
270
+ "description": "Content of the new memory (the updated fact)."
271
+ },
272
+ "update_reason": {
273
+ "type": "string",
274
+ "description": "Why it changed (e.g. 'address changed', 'contract renewed'); stored on the SUPERSEDES edge."
275
+ }
276
+ },
277
+ "required": [
278
+ "target_id",
279
+ "new_title",
280
+ "new_content"
281
+ ]
282
+ }
283
+ },
284
+ {
285
+ "name": "knowmind_recall_at_time",
286
+ "annotations": {
287
+ "title": "Recall at time",
288
+ "readOnlyHint": true,
289
+ "destructiveHint": false,
290
+ "idempotentHint": true,
291
+ "openWorldHint": false
292
+ },
293
+ "description": "Time-travel recall: return only memories that were valid at a given instant (valid_from <= as_of <= valid_to, or still open). Answers 'what did the agent know on March 14?'. Use instead of knowmind_recall when the point in time matters; otherwise use knowmind_recall for the current truth. Read scope suffices.",
294
+ "inputSchema": {
295
+ "type": "object",
296
+ "properties": {
297
+ "query": {
298
+ "type": "string",
299
+ "description": "Natural-language question."
300
+ },
301
+ "as_of": {
302
+ "type": "string",
303
+ "description": "ISO-8601 timestamp to evaluate validity at; defaults to now. Example: '2026-03-14T00:00:00Z'."
304
+ },
305
+ "k": {
306
+ "type": "integer",
307
+ "minimum": 1,
308
+ "maximum": 25,
309
+ "default": 5,
310
+ "description": "Number of chunks to return (1-25, default 5)."
311
+ }
312
+ },
313
+ "required": [
314
+ "query"
315
+ ]
316
+ }
317
+ },
318
+ {
319
+ "name": "knowmind_entity",
320
+ "annotations": {
321
+ "title": "Create entity",
322
+ "readOnlyHint": false,
323
+ "destructiveHint": false,
324
+ "idempotentHint": true,
325
+ "openWorldHint": false
326
+ },
327
+ "description": "Create the node for a thing the corpus talks about - a person, an organisation, an application, a host, a technology - or return the existing one. THE GRAPH NEEDS THESE: memories are texts, and two texts mentioning the same server stay unconnected until that server exists as its own node. Create an entity when a name recurs across memories or when you are about to link something that has no node yet, then connect it with knowmind_link. Same name, same class and same tenant always return the same id, so calling twice creates no duplicate. Give the entity its plain proper name (\"PostgreSQL\", not \"the database we use\"), and pick the class from the catalogue in knowmind_schema. Requires write scope.",
328
+ "inputSchema": {
329
+ "type": "object",
330
+ "properties": {
331
+ "name": {
332
+ "type": "string",
333
+ "description": "Proper name of the thing, as it would be written in a document. No role, no status, no description."
334
+ },
335
+ "entity_class": {
336
+ "type": "string",
337
+ "description": "Class from the catalogue (knowmind_schema -> entityClasses), e.g. Person, Organization, Application, Host, Technology."
338
+ },
339
+ "description": {
340
+ "type": "string",
341
+ "description": "One sentence saying what this is. Optional, helps later retrieval."
342
+ },
343
+ "aliases": {
344
+ "type": "array",
345
+ "items": {
346
+ "type": "string"
347
+ },
348
+ "description": "Other spellings the same thing appears under. Optional."
349
+ }
350
+ },
351
+ "required": [
352
+ "name",
353
+ "entity_class"
354
+ ]
355
+ }
356
+ },
357
+ {
358
+ "name": "knowmind_link",
359
+ "annotations": {
360
+ "title": "Link relation",
361
+ "readOnlyHint": false,
362
+ "destructiveHint": false,
363
+ "idempotentHint": true,
364
+ "openWorldHint": false
365
+ },
366
+ "description": "Create a typed relation between two memory nodes (a knowledge-graph edge). THIS IS HOW THE GRAPH IS BUILT: after storing memories, connect them - a corpus without edges answers only what a single note already says. Subject and object classes must match the predicate; the inverse edge is materialized automatically, and derived edges (RUNS_ON, WORKS_FOR_CLIENT, HOST_SERVES_CLIENT, DEPENDS_ON_SUPPLIER) are computed by the server - never set them by hand. Get both node IDs via knowmind_recall first, and call knowmind_schema for the full catalogue with explanations. Allowed rel_type values: ABOUT (Contract|Document|FileResource → Topic), CLIENT_OF (Agent|Organization|Person|SoftwareAgent → Organization), CONTACT_PERSON_FOR (Person → Organization), COVERED_BY (Topic → Contract|Document|FileResource), DELIVERED_AS (Application → Product), DELIVERED_BY (Product → Application), DEPENDS_ON (Application → Application), DEPLOYED_TO (Application → Container), DEVELOPED_BY (Application → Agent|Organization|Person|SoftwareAgent), DEVELOPS (Agent|Organization|Person|SoftwareAgent → Application), ENABLES (Application → Application), FOR_CLIENT (Project → Agent|Organization|Person|SoftwareAgent), HAS_CHILD (Person → Person), HAS_CLIENT (Organization → Agent|Organization|Person|SoftwareAgent), HAS_CONTACT_PERSON (Organization → Person), HAS_EMPLOYEE (Organization → Person), HAS_OPERATED_APPLICATION (Agent|Organization|Person|SoftwareAgent → Application), HAS_PARENT (Person → Person), HAS_PROJECT (Agent|Organization|Person|SoftwareAgent → Project), HAS_ROLE (Person → Role), HAS_SIBLING (Person → Person), HAS_SKILL (Agent|Organization|Person|SoftwareAgent → Skill), HOSTED_ON (Container → Host), HOSTS (Host → Container), HOSTS_APPLICATION (Container → Application), INFRASTRUCTURE_PROVIDED_BY (Host → Organization), INTEGRATES_WITH (Application → Application), IS_LED_BY (Organization → Person), KNOWS (Person → Person), LEADS (Person → Organization), OPERATED_FOR (Application → Agent|Organization|Person|SoftwareAgent), PAID_BY (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PARTNER_OF (Organization → Organization), PAYS (Agent|Organization|Person|SoftwareAgent → Agent|Organization|Person|SoftwareAgent), PRODUCED_BY (Contract|Document|FileResource → Project), PRODUCES (Project → Contract|Document|FileResource), PROVIDES_INFRASTRUCTURE (Organization → Host), ROLE_OF (Role → Person), SERVED_UNDER (Application → Domain), SERVES (Domain → Application), SKILL_OF (Skill → Agent|Organization|Person|SoftwareAgent), SPOUSE_OF (Person → Person), SUPPLIED_BY (Agent|Organization|Person|SoftwareAgent → Organization), SUPPLIES (Organization → Agent|Organization|Person|SoftwareAgent), SUPPLIES_TECHNOLOGY (Organization → Technology), SUPPORTED_BY (Contract|Document|FileResource → Contract|Document|FileResource), SUPPORTS (Contract|Document|FileResource → Contract|Document|FileResource), TECHNOLOGY_SUPPLIED_BY (Technology → Organization), TECHNOLOGY_USED_BY (Technology → Application), USES_TECHNOLOGY (Application → Technology), WORKED_ON_BY (Project → Agent|Organization|Person|SoftwareAgent), WORKS_FOR (Person → Organization), WORKS_ON (Agent|Organization|Person|SoftwareAgent → Project). Requires write scope.",
367
+ "inputSchema": {
368
+ "type": "object",
369
+ "properties": {
370
+ "from_id": {
371
+ "type": "string",
372
+ "description": "Memory ID of the source node (get it via knowmind_recall)."
373
+ },
374
+ "to_id": {
375
+ "type": "string",
376
+ "description": "Memory ID of the target node."
377
+ },
378
+ "rel_type": {
379
+ "type": "string",
380
+ "description": "Edge type in UPPER_SNAKE_CASE from the allowed list. Must fit the subject and object classes."
381
+ },
382
+ "confidence": {
383
+ "type": "number",
384
+ "description": "Edge confidence in [0..1]; 1.0 for a fact stated verbatim, 0.7 for a clear paraphrase. Below that, do not create the edge."
385
+ }
386
+ },
387
+ "required": [
388
+ "from_id",
389
+ "to_id",
390
+ "rel_type"
391
+ ]
392
+ }
393
+ },
394
+ {
395
+ "name": "knowmind_schema",
396
+ "annotations": {
397
+ "title": "Graph schema",
398
+ "readOnlyHint": true,
399
+ "destructiveHint": false,
400
+ "idempotentHint": true,
401
+ "openWorldHint": false
402
+ },
403
+ "description": "Return the relation catalogue of this tenant's knowledge graph: every allowed edge type with its subject and object classes and an explanation of when to use it. Call this before building edges with knowmind_link, so you pick the right predicate instead of the nearest-sounding one. Read scope suffices.",
404
+ "inputSchema": {
405
+ "type": "object",
406
+ "properties": {}
407
+ }
408
+ },
409
+ {
410
+ "name": "knowmind_unlink",
411
+ "annotations": {
412
+ "title": "Remove relation",
413
+ "readOnlyHint": false,
414
+ "destructiveHint": true,
415
+ "idempotentHint": true,
416
+ "openWorldHint": false
417
+ },
418
+ "description": "Delete a typed relation between two memory nodes; the inverse edge is removed with it. Idempotent - deleting a non-existent edge is a no-op. Use to correct a wrong link created via knowmind_link. Requires write scope.",
419
+ "inputSchema": {
420
+ "type": "object",
421
+ "properties": {
422
+ "from_id": {
423
+ "type": "string",
424
+ "description": "Memory ID of the source node."
425
+ },
426
+ "to_id": {
427
+ "type": "string",
428
+ "description": "Memory ID of the target node."
429
+ },
430
+ "rel_type": {
431
+ "type": "string",
432
+ "description": "Edge type to remove (UPPER_SNAKE_CASE, exactly as created)."
433
+ }
434
+ },
435
+ "required": [
436
+ "from_id",
437
+ "to_id",
438
+ "rel_type"
439
+ ]
440
+ }
441
+ },
442
+ {
443
+ "name": "knowmind_list_relations",
444
+ "annotations": {
445
+ "title": "List relations",
446
+ "readOnlyHint": true,
447
+ "destructiveHint": false,
448
+ "idempotentHint": true,
449
+ "openWorldHint": false
450
+ },
451
+ "description": "List all relations of one memory (incoming and outgoing), each with its edge type and the connected node. Use to inspect how an entity is connected before adding or removing edges with knowmind_link/knowmind_unlink; find the memory_id first via knowmind_recall. Read scope suffices.",
452
+ "inputSchema": {
453
+ "type": "object",
454
+ "properties": {
455
+ "memory_id": {
456
+ "type": "string",
457
+ "description": "Memory ID whose relations to list (get it via knowmind_recall)."
458
+ }
459
+ },
460
+ "required": [
461
+ "memory_id"
462
+ ]
463
+ }
464
+ }
465
+ ]
466
+ }