codemap_label_edit
Edit an existing label's properties. ID never changes even if name changes.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | ✅ Required | Label ID to edit |
emoji | string | ❌ Optional | New emoji character |
name | string | ❌ Optional | New display name |
description | string | ❌ Optional | New description |
bgColor | string | ❌ Optional | New background hex color |
fgColor | string | ❌ Optional | New foreground hex color |
Usage Examples
MCP Usage (for AI Agents like Claude)
json
{
"name": "codemap_label_edit",
"arguments": {
"id": "lbl_work_in_progress_241291",
"name": "In Development"
}
}Example Output
JSON Response
json
{
"success": true,
"label": {
"id": "lbl_work_in_progress_241291",
"emoji": "🚀",
"name": "In Development",
"description": "Features currently being developed",
"bgColor": "#4169E1",
"fgColor": "#FFFFFF",
"updatedAt": 1775543850000
}
}When to Use This Tool
- Fix typos in label names or descriptions
- Update label colors for better visibility
- Change emoji to better represent label purpose
- Refine label descriptions as project evolves
Pro Tips
- Update description to clarify label usage for team
- Choose contrasting colors for readability (WCAG AA)
- Use descriptive emojis that are easy to recognize
- Document label changes in project guidelines