Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

publish_page: the owner-only choice in fewer words, inside the catalog budget

milind-soni3ac08d25baab
diff --git a/server/drivers/agents-pages-tools.ts b/server/drivers/agents-pages-tools.ts
index ff7a0da732..16b8a9b668 100644
--- a/server/drivers/agents-pages-tools.ts
+++ b/server/drivers/agents-pages-tools.ts
@@ -17,7 +17,7 @@ export const PAGE_TOOL_DEFINITIONS = [
{
name: "publish_page",
description:
- "Publish a page you made to a link anyone with it can open, when the person wants others to open it (share, send to someone, post) or asks to publish it: an .html file, or a folder with an index.html (static files and data too, up to 5 MB). Publishing the same path again, or passing page_id, updates the same link. Never publish secrets, or money, health, ID or customer details the person didn't ask to make public; give the file instead. For a data dashboard, follow the data-dashboards skill.",
+ "Publish a page you made to a public link anyone with it can open, when the person wants others to open it (share, send to someone, post) or asks to publish it: an .html file, or a folder with an index.html (static files and data, up to 5 MB). Publishing the same path again, or passing page_id, updates it. Never publish secrets, or money, health, ID or customer details the person didn't ask to make public; give the file instead. For a data dashboard, follow the data-dashboards skill.",
inputSchema: {
type: "object",
additionalProperties: false,
@@ -26,7 +26,7 @@ export const PAGE_TOOL_DEFINITIONS = [
title: { type: "string", maxLength: 200, description: "A short name for the page." },
page_id: PAGE_ID,
live: { type: "boolean", description: "True republishes it when its folder changes; open copies reload." },
- visibility: { type: "string", enum: ["public", "owner"], description: "owner: only the person sees it." },
+ visibility: { type: "string", enum: ["public", "owner"] },
},
required: ["path", "title"],
},