find_views_by_css
Locate Perspective views and components that reference a specific CSS style class. Identify where a class is used across a project to plan safe style changes.
Instructions
Find views and components that use a style class.
Args: css_class: Style class name to search for. project: Project name; defaults to the active project.
Returns: Matching views with the component names that use the class.
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": {
"css_class": "<css_class>"
},
"name": "find_views_by_css"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| css_class | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||