generate_component
Generate a Symbols.app DOMQL component from a natural language description, using built-in syntax references and examples to ensure a compliant component.
Instructions
Generate a Symbols.app DOMQL component from a description.
Returns the rules, syntax reference, component catalog, cookbook examples, and default library reference as context. The calling LLM uses this context to generate a correct, compliant component.
Args: description: What the component should do and look like. component_name: PascalCase name for the component.
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": {
"description": "<description>"
},
"name": "generate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | ||
| component_name | No | MyComponent |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |