get_webidl
Retrieve WebIDL interface definitions to understand JavaScript APIs in web specifications. Specify a shortname like 'service-workers' or 'dom' to get the official definitions.
Instructions
Get WebIDL interface definitions for a specification. WebIDL defines the JavaScript APIs.
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": {
"shortname": "<shortname>"
},
"name": "get_webidl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shortname | Yes | Specification shortname (e.g., "service-workers", "fetch", "dom") |