summaryrefslogtreecommitdiff
path: root/agent/tools/write.lua
diff options
context:
space:
mode:
authorT <t@tjp.lol>2026-05-27 20:39:45 -0600
committert <t@tjp.lol>2026-05-30 16:29:43 -0600
commit5c016cfdbcb122e2b4f0496ef946642d68953c4b (patch)
tree81feb6ac75045361e8e61d609e4e34d14cecb3b6 /agent/tools/write.lua
parent48651e123ef0cf1d02eac781902517c0628b310a (diff)
tool names prefixed with `std.`
Diffstat (limited to 'agent/tools/write.lua')
-rw-r--r--agent/tools/write.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/tools/write.lua b/agent/tools/write.lua
index 70aa5c8..01bf3b2 100644
--- a/agent/tools/write.lua
+++ b/agent/tools/write.lua
@@ -1,5 +1,5 @@
--- Write text to a file, creating parent directories as needed. Pi-style
--- terse description because every byte of every tool description rides
+-- Write text to a file, creating parent directories as needed. Keep the
+-- description terse because every byte of every tool description rides
-- in the system prompt on every turn.
local uv = require("luv")
@@ -31,7 +31,7 @@ local function dirname(path)
end
return {
- name = "write",
+ name = "std.write",
description = "Save content to a path. Overwrites existing files; missing parent directories are created automatically.",
schema = {
type = "object",