Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: shorten tool descriptions

Steven Enamakel35e14d3edc07
diff --git a/crates/openhuman-core/src/memory/tools/store.rs b/crates/openhuman-core/src/memory/tools/store.rs
index b9db4a950c..3edbacdc80 100644
--- a/crates/openhuman-core/src/memory/tools/store.rs
+++ b/crates/openhuman-core/src/memory/tools/store.rs
@@ -107,7 +107,9 @@ impl Tool for MemoryStoreTool {
}
fn description(&self) -> &str {
- "Remember a fact, event, plan, or note the user asks you to keep — e.g. \"next scrum meeting on 10 September\". Call it BEFORE you confirm, whenever the user says remember, note, or keep in mind. NOT for preferences — those go to `save_preference`, which writes the store the assistant actually reads. `namespace` and `key` are optional: the default namespace is the assistant's own memory and the key is derived from the content. Check `memory_recall` for a near-duplicate first, and call `update_memory_md` afterwards, when you have those tools."
+ "Remember a fact, event, plan or note the user asks you to keep. Call it before you \
+ confirm. Not for preferences (those go through the profile skill). Check \
+ `memory_recall` for a near-duplicate first."
}
fn parameters_schema(&self) -> serde_json::Value {
diff --git a/crates/openhuman-core/src/memory/tools/store_tests.rs b/crates/openhuman-core/src/memory/tools/store_tests.rs
index 44897384ea..351534d73e 100644
--- a/crates/openhuman-core/src/memory/tools/store_tests.rs
+++ b/crates/openhuman-core/src/memory/tools/store_tests.rs
@@ -39,7 +39,7 @@ fn name_and_schema() {
// for dedupe before writing and reconciles the index after.
let desc = tool.description();
assert!(
- desc.contains("memory_recall") && desc.contains("update_memory_md"),
+ desc.contains("memory_recall") && !desc.contains("update_memory_md"),
"memory_store description must state the read→dedupe→write→update contract: {desc}"
);
}
diff --git a/crates/openhuman-core/src/tools/impl/system/resolve_time.rs b/crates/openhuman-core/src/tools/impl/system/resolve_time.rs
index 9cc8e9f0e0..bee9cc138f 100644
--- a/crates/openhuman-core/src/tools/impl/system/resolve_time.rs
+++ b/crates/openhuman-core/src/tools/impl/system/resolve_time.rs
@@ -226,7 +226,9 @@ impl Tool for ResolveTimeTool {
}
fn description(&self) -> &str {
- "Resolve a time expression (\"now\", \"24h ago\", \"in 10 minutes\", \"today\", RFC-3339, or a date) into timestamp representations. Returns `unix_s`, `unix_ms`, `slack_ts` and `rfc3339` — copy whichever the target tool's schema wants. Always produce date/time arguments for other tools this way; never hand-compute epoch seconds."
+ "Resolve a time expression (\"now\", \"24h ago\", \"in 10 minutes\", \"today\", \
+ RFC-3339 or a date) into `unix_s`, `unix_ms`, `slack_ts` and `rfc3339`. Every \
+ date/time argument for another tool comes from here."
}
fn parameters_schema(&self) -> serde_json::Value {
@@ -235,26 +237,17 @@ impl Tool for ResolveTimeTool {
"properties": {
"expr": {
"type": "string",
- "description": "Time expression: \"now\", a past duration \
- (\"24h ago\", \"7d\", \"2 weeks ago\"), a future \
- duration (\"in 10 minutes\", \"30m from now\"), \
- \"today\"/\"yesterday\"/\"tomorrow\", \
- \"2026-06-09T19:12:00Z\", \"2026-06-09\", or \
- \"YYYY-MM-DD HH:MM:SS\"."
+ "description": "\"now\", \"24h ago\", \"in 10 minutes\", \"tomorrow\", \
+ an RFC-3339 timestamp or a date."
},
"format": {
"type": "string",
"enum": ["unix_s", "unix_ms", "slack_ts", "rfc3339"],
- "description": "Which representation to put in the top-level `value` \
- field (all representations are always returned too). \
- Defaults to unix_s."
+ "description": "Representation for the top-level `value` (default unix_s)."
},
"timezone": {
"type": "string",
- "description": "Optional IANA timezone (e.g. 'Asia/Kolkata') used to \
- interpret offset-less inputs like 'today' or \
- '2026-06-09'. Defaults to the machine's local zone. \
- Ignored for inputs that already carry an offset."
+ "description": "IANA timezone for offset-less inputs; defaults to local."
}
},
"required": ["expr"]
diff --git a/crates/openhuman-core/src/tools/impl/system/shell.rs b/crates/openhuman-core/src/tools/impl/system/shell.rs
index ce40815147..88d132977a 100644
--- a/crates/openhuman-core/src/tools/impl/system/shell.rs
+++ b/crates/openhuman-core/src/tools/impl/system/shell.rs
@@ -201,7 +201,7 @@ impl Tool for ShellTool {
"category": {
"type": "string",
"enum": ["read", "write", "network", "install", "destructive"],
- "description": "Optional self-declared risk category for this command. Advisory and ESCALATE-ONLY: it can raise the approval requirement (e.g. flag a destructive command) but never lowers what the runtime determines."
+ "description": "Optional self-declared risk; can only raise the approval requirement."
},
"timeout_secs": {
"type": "integer",