46 lines
2.2 KiB
XML
46 lines
2.2 KiB
XML
<tools>
|
|
<tool name="finish_scan">
|
|
<description>Complete the main security scan and generate final report.
|
|
|
|
IMPORTANT: This tool can ONLY be used by the root/main agent.
|
|
Subagents must use agent_finish from agents_graph tool instead.
|
|
|
|
IMPORTANT: This tool will NOT allow finishing if any agents are still running or stopping.
|
|
You must wait for all agents to complete before using this tool.
|
|
|
|
This tool MUST be called at the very end of the security assessment to:
|
|
- Verify all agents have completed their tasks
|
|
- Generate the final comprehensive scan report
|
|
- Mark the entire scan as completed
|
|
- Stop the agent from running
|
|
|
|
Use this tool when:
|
|
- You are the main/root agent conducting the security assessment
|
|
- ALL subagents have completed their tasks (no agents are "running" or "stopping")
|
|
- You have completed all testing phases
|
|
- You are ready to conclude the entire security assessment
|
|
|
|
IMPORTANT: Calling this tool multiple times will OVERWRITE any previous scan report.
|
|
Make sure you include ALL findings and details in a single comprehensive report.
|
|
|
|
If agents are still running, this tool will:
|
|
- Show you which agents are still active
|
|
- Suggest using wait_for_message to wait for completion
|
|
- Suggest messaging agents if immediate completion is needed
|
|
|
|
Put ALL details in the content - methodology, tools used, vulnerability counts, key findings, recommendations,
|
|
compliance notes, risk assessments, next steps, etc. Be comprehensive and include everything relevant.</description>
|
|
<parameters>
|
|
<parameter name="content" type="string" required="true">
|
|
<description>Complete scan report including executive summary, methodology, findings, vulnerability details, recommendations, compliance notes, risk assessment, and conclusions. Include everything relevant to the assessment.</description>
|
|
</parameter>
|
|
<parameter name="success" type="boolean" required="false">
|
|
<description>Whether the scan completed successfully without critical errors</description>
|
|
</parameter>
|
|
</parameters>
|
|
<returns type="Dict[str, Any]">
|
|
<description>Response containing success status and completion message. If agents are still running, returns details about active agents and suggested actions.</description>
|
|
</returns>
|
|
</tool>
|
|
</tools>
|