WIP: tool description / schema updates
This commit is contained in:
@@ -182,27 +182,9 @@ class TracerTool(WorkflowTool):
|
||||
|
||||
def get_description(self) -> str:
|
||||
return (
|
||||
"STEP-BY-STEP CODE TRACING WORKFLOW - Systematic code analysis through guided investigation. "
|
||||
"This tool guides you through a structured investigation process where you:\n\n"
|
||||
"1. Start with step 1: describe your tracing plan and target\n"
|
||||
"2. STOP and investigate code structure, patterns, and relationships\n"
|
||||
"3. Report findings in step 2 with concrete evidence from actual code analysis\n"
|
||||
"4. Continue investigating between each step\n"
|
||||
"5. Track findings, relevant files, and code relationships throughout\n"
|
||||
"6. Build comprehensive understanding as analysis evolves\n"
|
||||
"7. Complete with detailed output formatted according to trace mode\n\n"
|
||||
"IMPORTANT: This tool enforces investigation between steps:\n"
|
||||
"- After each call, you MUST investigate before calling again\n"
|
||||
"- Each step must include NEW evidence from code examination\n"
|
||||
"- No recursive calls without actual investigation work\n"
|
||||
"- The tool will specify which step number to use next\n"
|
||||
"- Follow the required_actions list for investigation guidance\n\n"
|
||||
"TRACE MODES:\n"
|
||||
"- 'ask': Default mode - prompts you to choose between precision or dependencies modes with explanations\n"
|
||||
"- 'precision': For methods/functions - traces execution flow, call chains, and usage patterns\n"
|
||||
"- 'dependencies': For classes/modules - maps structural relationships and bidirectional dependencies\n\n"
|
||||
"Perfect for: method execution flow analysis, dependency mapping, call chain tracing, "
|
||||
"structural relationship analysis, architectural understanding, code comprehension."
|
||||
"Performs systematic code tracing with modes for execution flow or dependency mapping. "
|
||||
"Use for method execution analysis, call chain tracing, dependency mapping, and architectural understanding. "
|
||||
"Supports precision mode (execution flow) and dependencies mode (structural relationships)."
|
||||
)
|
||||
|
||||
def get_system_prompt(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user