convert_react
Converts provided React/JSX code into Symbols.app DOMQL, returning migration rules, syntax reference, and examples.
Instructions
Convert React/JSX code to Symbols.app DOMQL.
Provide React component code and receive the conversion context including migration rules, syntax reference, and examples.
Args: source_code: The React/JSX source code to convert.
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_code": "<source_code>"
},
"name": "convert_react"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |