biome-format
Formats JavaScript, TypeScript, JSX, and TSX code using Biome. Specify a virtual filename to select the correct parser.
Instructions
Format JavaScript/TypeScript code using Biome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JS/TS/JSX/TSX code to format | |
| filename | No | Virtual filename used to select parser (e.g., "app.ts", "index.jsx") | code.ts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | Whether the code was modified during formatting | |
| formatted_code | Yes | The formatted JS/TS code |