checkInlineCode
Type-check inline TypeScript code instantly without creating a file. Get compiler diagnostics directly.
Instructions
Type-check inline TypeScript code without creating a file
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": {
"code": "<code>"
},
"name": "checkInlineCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | TypeScript code to type-check | |
| fileName | No | Virtual filename | __inline__.ts |
| tsconfig | No | Path to tsconfig.json for compiler settings |