codemap_routine_remove_template
Remove a template reference from a routine
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
routineName | string | ✅ Required | Routine name |
templateName | string | ✅ Required | Template name to remove |
Usage Examples
MCP Usage (for AI Agents like Claude)
json
{
"name": "codemap_routine_remove_template",
"arguments": {
"routineName": "create-component",
"templateName": "old-template"
}
}Example Output
JSON Response
json
{
"success": true,
"message": "Template 'old-template' removed from routine 'create-component'"
}When to Use This Tool
-
Use
- Remove outdated template references from routines
- Clean up routine configuration
- Update workflow to use different templates
codemap_routine_remove_template when you need to:
Common Patterns
Workflow Update Pattern
1. Remove old template
2. Add new template
3. Update checklist items
4. Test routinePro Tips
- Use routine/remove for universal removal: The
routine_removetool can remove templates and other items - Check routine first: List routine details to verify template exists
Best Practices
- Verify template name before removing
- Update routine documentation after removal
- Test routine after changes
Common Mistakes
❌ Mistake: Removing templates still needed in workflow
✅ Instead: Review routine purpose before removing templates
✅ Instead: Review routine purpose before removing templates