cg_create
Scaffold a new Cartograph widget or blueprint. Use a slug plus required domain and language for widgets, or just a name for blueprints, to create the module under a project root.
Instructions
Scaffold a new Cartograph widget or blueprint. Use name for the slug only, not the full widget_id; Cartograph combines domain + name + language for widgets. For blueprints, just use the name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "cg_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Slug, for example retry-backoff. | |
| domain | No | Domain (required for widgets). | |
| target | No | Project root to create the module under. | |
| language | No | Language (required for widgets). | |
| display_name | No | Optional display name for manifest. | |
| is_blueprint | No | Whether to scaffold a blueprint instead of a widget. |