codemap_routine_remove_template

Remove a template reference from a routine

routinetemplatesworkflowremove

Parameters

NameTypeRequiredDescription
routineNamestring✅ RequiredRoutine name
templateNamestring✅ RequiredTemplate 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 codemap_routine_remove_template when you need to:
  • Remove outdated template references from routines
  • Clean up routine configuration
  • Update workflow to use different templates
💡Common Patterns
Workflow Update Pattern
1. Remove old template
2. Add new template
3. Update checklist items
4. Test routine
💡Pro Tips
  • Use routine/remove for universal removal: The routine_remove tool 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

Related Tools