Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

tools-json golden

garrytan91c463e4be79
diff --git a/test/fixtures/goldens/cli/tools-json.json b/test/fixtures/goldens/cli/tools-json.json
index 2fbdc0c446..8883f1b5d6 100644
--- a/test/fixtures/goldens/cli/tools-json.json
+++ b/test/fixtures/goldens/cli/tools-json.json
@@ -2,8 +2,8 @@
"golden": {
"exitCode": 0,
"stderr": "",
- "stdoutBytes": 203001,
- "stdoutSha256": "1c7a6e9584099345f3d0f2ef2756bce55121ef709144cc7e60a78ec9ee6c6e0d",
+ "stdoutBytes": 203092,
+ "stdoutSha256": "b91031a37dc392f3aaf91bd8569f533c47cf619d90fe391d9eb9474396d70b8e",
"toolNames": [
"remember",
"entity",
@@ -166,7 +166,7 @@
],
"tools": [
{
- "description": "MEMORY VERB (v1): save one fact; provenance required. Set `entity` when the fact has a subject, or entity-scoped recall misses it. Branch on `status` (inserted|duplicate|superseded). write_pending carries a receipt: poll get_write_request.",
+ "description": "MEMORY VERB (v1): save facts with provenance. Set `entity` to the subject, or entity-scoped recall misses it. Branch on `status` (inserted|duplicate|superseded); write_pending: poll get_write_request.",
"idempotent": true,
"local_only": false,
"mutating": true,
@@ -174,11 +174,12 @@
"parameters": {
"entity": "string?",
"expected_revision": "string?",
- "fact": "string",
+ "fact": "string?",
"force": "boolean?",
"infer_entity": "boolean?",
+ "items": "array?",
"kind": "string?",
- "provenance": "string",
+ "provenance": "string?",
"request_id": "string?",
"source_id": "string?",
"ttl": "string?",
@@ -188,7 +189,7 @@
"schema": {
"properties": {
"entity": {
- "description": "Who or what it is about (name or slug).",
+ "description": "Subject (name or slug).",
"type": "string"
},
"expected_revision": {
@@ -207,6 +208,13 @@
"description": "Default true.",
"type": "boolean"
},
+ "items": {
+ "description": "≤20 facts: [{fact, provenance}]",
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Default fact.",
"enum": [
@@ -219,7 +227,7 @@
"type": "string"
},
"provenance": {
- "description": "Where the fact came from (max 500 chars).",
+ "description": "Source of the fact (max 500 chars).",
"type": "string"
},
"request_id": {
@@ -243,10 +251,7 @@
"type": "string"
}
},
- "required": [
- "fact",
- "provenance"
- ],
+ "required": [],
"type": "object"
},
"scope": "write"
@@ -5367,14 +5372,14 @@
"scope": "read"
},
{
- "description": "MEMORY VERB (v1): budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
+ "description": "MEMORY VERB (v1): core memory, budget-packed cards, open threads and hot facts for up to 8 entities, zero LLM. Call at session start and after compaction.",
"idempotent": true,
"local_only": false,
"mutating": false,
"name": "context_pack",
"parameters": {
"budget_tokens": "number?",
- "entities": "string",
+ "entities": "string?",
"include_private": "boolean?",
"session_id": "string?",
"since": "string?"
@@ -5403,9 +5408,7 @@
"type": "string"
}
},
- "required": [
- "entities"
- ],
+ "required": [],
"type": "object"
},
"scope": "read"