How to Debug Template Execution
1
Enable Verbose Mode
2
Check Template Validation
3
View Template Info
4
Check Tool Resolution
How to Use Templates Doctor
1
Run Doctor Command
2
Check Specific Template
3
Review Diagnostics
The doctor command will show:
- Missing tools
- Invalid tool references
- Configuration issues
- Dependency problems
4
Fix Issues
Based on doctor output, fix the identified issues in your template files.
How to Debug Tool Resolution
1
List Available Tools
2
Resolve Specific Tool
3
Check Tool Sources
4
Discover Tools from Packages
How to Debug with Python
1
Enable Debug Logging
2
Inspect Template Config
3
Check Tool Registry
Common Issues and Solutions
| Issue | Cause | Solution |
|---|---|---|
| Tool not found | Tool not in registry | Add to requires.tools or tools_sources |
| Variable undefined | Missing variable | Add to variables in TEMPLATE.yaml |
| Template not found | Wrong path | Use full path or check template name |
| Permission denied | File access | Check file permissions |

