check_baseline_from_selection
Analyze selected code, active file, or clipboard content for Baseline compatibility without manual copying. Provides browser support and recommendations.
Instructions
AUTOMATIC CODE RETRIEVAL: Analyzes the currently selected code or active file for Baseline compatibility. No need to copy/paste code - this tool automatically gets the code from the editor. Use this to save tokens and avoid manual code copying.
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": {
"source": "<source>"
},
"name": "check_baseline_from_selection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source of code to analyze: 'selection' for selected text, 'active_file' for current file, or 'clipboard' for clipboard content |