modal_best_practices
Retrieve required best practices for building modals and dialogs with DialogService, BaseDialogComponent, and ds-modal components before implementation. Filter by category or list all.
Instructions
⚠️ REQUIRED TOOL: Must be called before implementing modals or dialogs. Returns best practices for creating and managing modals/dialogs using DialogService, BaseDialogComponent, ds-modal components, and rxMethod patterns. Can retrieve all best practices or filter by specific category.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "modal_best_practices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Optional category to filter best practices (e.g., "overview", "dialog-components", "opening-dialogs", "configuration", "best-practices"). If not provided, returns all best practices. | |
| listCategories | No | If true, returns a list of available best practice categories instead of the best practices themselves. |