-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy patha0toolssetting.json
More file actions
1 lines (1 loc) · 11.6 KB
/
Copy patha0toolssetting.json
File metadata and controls
1 lines (1 loc) · 11.6 KB
1
tools=[{"type":"function","function":{"name":"code_execution_tool","description":"Execute terminal commands, Python, Node.js code for computation or software tasks. Use 'output' to wait for long-running processes, 'reset' to kill processes.","parameters":{"type":"object","required":["runtime","session"],"properties":{"runtime":{"type":"string","enum":["terminal","python","nodejs","output","reset"]},"session":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}]},"code":{"type":"string","description":"Code to execute (not required for 'output' and 'reset' runtimes)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"browser_agent","description":"Control Playwright browser through subordinate agent. Provide clear instructions for browser tasks.","parameters":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Clear instructions for the browser agent"},"reset":{"oneOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}],"description":"Whether to spawn new agent (true) or continue existing (false)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"memory_load","description":"Load memories via query with threshold, limit, and filter options.","parameters":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query for memories"},"threshold":{"type":"number","minimum":0,"maximum":1,"description":"Similarity threshold (0=any, 1=exact, 0.7=default)"},"limit":{"type":"integer","minimum":1,"description":"Maximum number of results (default=5)"},"filter":{"type":"string","description":"Python syntax filter using metadata keys"}},"additionalProperties":true}}},{"type":"function","function":{"name":"memory_save","description":"Save text to memory and return memory ID.","parameters":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text content to save to memory"}},"additionalProperties":true}}},{"type":"function","function":{"name":"memory_delete","description":"Delete memories by comma-separated IDs.","parameters":{"type":"object","required":["ids"],"properties":{"ids":{"type":"string","description":"Comma-separated memory IDs to delete"}},"additionalProperties":true}}},{"type":"function","function":{"name":"memory_forget","description":"Remove memories by query, threshold, and filter (like memory_load but for deletion).","parameters":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query for memories to forget"},"threshold":{"type":"number","minimum":0,"maximum":1,"description":"Similarity threshold (default 0.75 to prevent accidents)"},"filter":{"type":"string","description":"Python syntax filter using metadata keys"}},"additionalProperties":true}}},{"type":"function","function":{"name":"search_engine","description":"Perform web search and get results with URLs, titles, and descriptions.","parameters":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query for web search"}},"additionalProperties":true}}},{"type":"function","function":{"name":"input","description":"Send keyboard input to terminal programs for answering dialogues, entering passwords, etc.","parameters":{"type":"object","required":["keyboard"],"properties":{"keyboard":{"type":"string","description":"Text to send as keyboard input"},"session":{"oneOf":[{"type":"integer","minimum":0},{"type":"string","pattern":"^[0-9]+$"}],"description":"Terminal session number"}},"additionalProperties":true}}},{"type":"function","function":{"name":"a2a_chat","description":"Chat with FastA2A-compatible agents. Automatically maintains conversation context.","parameters":{"type":"object","required":["agent_url","message"],"properties":{"agent_url":{"type":"string","description":"Base URL of the remote agent (host:port, http://host:port, or full path ending in /a2a)"},"message":{"type":"string","description":"Text message to send to the remote agent"},"attachments":{"type":"array","items":{"type":"string"},"description":"Optional file URIs to send with the message"},"reset":{"type":"boolean","description":"Set to true to start new conversation (clears context)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"behaviour_adjustment","description":"Update agent behavior per user request by adding or removing behavioral adjustments.","parameters":{"type":"object","required":["adjustments"],"properties":{"adjustments":{"type":"string","description":"Instructions to add or remove behavioral adjustments"}},"additionalProperties":true}}},{"type":"function","function":{"name":"call_subordinate","description":"Delegate subtasks to specialized subordinate agents (scientist, coder, engineer, etc.).","parameters":{"type":"object","required":["message"],"properties":{"profile":{"type":"string","description":"Agent profile to use for specialized subordinates (leave empty for default)"},"message":{"type":"string","description":"Task description including role, details, and goal for the subordinate"},"reset":{"oneOf":[{"type":"boolean"},{"type":"string","enum":["true","false"]}],"description":"Whether to spawn new subordinate (true) or continue existing (false)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"document_query","description":"Read or analyze remote and local documents. Supports HTML, PDF, Office documents, text files, and more.","parameters":{"type":"object","required":["document"],"properties":{"document":{"type":"string","description":"Web address or local path to document (use http/https for web, full filesystem path for local)"},"queries":{"type":"array","items":{"type":"string"},"description":"Optional list of questions to answer about the document"}},"additionalProperties":true}}},{"type":"function","function":{"name":"notify_user","description":"Send notifications to the user independent of current task.","parameters":{"type":"object","required":["message"],"properties":{"message":{"type":"string","description":"Notification message to display to user"},"title":{"type":"string","description":"Optional notification title"},"detail":{"type":"string","description":"Optional notification detail (may contain HTML tags)"},"type":{"type":"string","enum":["info","success","warning","error","progress"],"description":"Type of notification"}},"additionalProperties":true}}},{"type":"function","function":{"name":"response","description":"Provide final answer to user. Ends task processing - use only when done or no task active.","parameters":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Final answer/response to provide to the user"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:list_tasks","description":"List all scheduler tasks with filtering options by state, type, and timing.","parameters":{"type":"object","properties":{"state":{"type":"array","items":{"type":"string","enum":["idle","running","disabled","error"]},"description":"Filter by task state"},"type":{"type":"array","items":{"type":"string","enum":["adhoc","planned","scheduled"]},"description":"Filter by task type"},"next_run_within":{"type":"integer","minimum":0,"description":"Next run must be within this many minutes"},"next_run_after":{"type":"integer","minimum":0,"description":"Next run must be after at least this many minutes"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:find_task_by_name","description":"Find scheduler tasks by partial or full name matching.","parameters":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Task name to search for (partial matches allowed)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:show_task","description":"Show detailed information for a specific scheduler task.","parameters":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","description":"UUID of the task to display details for"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:run_task","description":"Execute a scheduler task manually. Can pass additional context for this specific run.","parameters":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","description":"UUID of the task to execute"},"context":{"type":"string","description":"Optional context to prepend to task prompt for this execution"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:delete_task","description":"Delete a scheduler task from the system.","parameters":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","description":"UUID of the task to delete"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:create_scheduled_task","description":"Create a recurring scheduled task using cron syntax.","parameters":{"type":"object","required":["name","system_prompt","prompt","schedule"],"properties":{"name":{"type":"string","description":"Name of the task"},"system_prompt":{"type":"string","description":"System prompt for task execution"},"prompt":{"type":"string","description":"Task definition prompt"},"schedule":{"type":"object","required":["minute","hour","day","month","weekday"],"properties":{"minute":{"type":"string","description":"Cron minute field"},"hour":{"type":"string","description":"Cron hour field"},"day":{"type":"string","description":"Cron day field"},"month":{"type":"string","description":"Cron month field"},"weekday":{"type":"string","description":"Cron weekday field"}},"additionalProperties":false},"attachments":{"type":"array","items":{"type":"string"},"description":"File paths or URLs to attach"},"dedicated_context":{"type":"boolean","description":"Whether task runs in its own context (true) or current context (false)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:create_adhoc_task","description":"Create a manually-triggered adhoc task.","parameters":{"type":"object","required":["name","system_prompt","prompt"],"properties":{"name":{"type":"string","description":"Name of the task"},"system_prompt":{"type":"string","description":"System prompt for task execution"},"prompt":{"type":"string","description":"Task definition prompt"},"attachments":{"type":"array","items":{"type":"string"},"description":"File paths or URLs to attach"},"dedicated_context":{"type":"boolean","description":"Whether task runs in its own context (true) or current context (false)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:create_planned_task","description":"Create a task with specific execution datetimes.","parameters":{"type":"object","required":["name","system_prompt","prompt","plan"],"properties":{"name":{"type":"string","description":"Name of the task"},"system_prompt":{"type":"string","description":"System prompt for task execution"},"prompt":{"type":"string","description":"Task definition prompt"},"plan":{"type":"array","items":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"},"description":"List of ISO datetime strings for execution times (YYYY-MM-DDTHH:MM:SS)"},"attachments":{"type":"array","items":{"type":"string"},"description":"File paths or URLs to attach"},"dedicated_context":{"type":"boolean","description":"Whether task runs in its own context (true) or current context (false)"}},"additionalProperties":true}}},{"type":"function","function":{"name":"scheduler:wait_for_task","description":"Wait for scheduler task completion and return the result. Only works with dedicated context tasks.","parameters":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","description":"UUID of the task to wait for"}},"additionalProperties":true}}}]