feat: add agents_list tool

This commit is contained in:
Peter Steinberger
2026-01-08 07:06:36 +00:00
parent 0ba72477de
commit 2b29b86ab5
10 changed files with 318 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ export function buildAgentSystemPrompt(params: {
cron: "Manage cron jobs and wake events",
gateway:
"Restart, apply config, or run updates on the running ClaudeBot process",
agents_list: "List agent ids allowed for sessions_spawn",
sessions_list: "List other sessions (incl. sub-agents) with filters/last",
sessions_history: "Fetch history for another session/sub-agent",
sessions_send: "Send a message to another session/sub-agent",
@@ -71,6 +72,7 @@ export function buildAgentSystemPrompt(params: {
"nodes",
"cron",
"gateway",
"agents_list",
"sessions_list",
"sessions_history",
"sessions_send",