check_rust
Run cargo check to identify compilation errors in Rust projects. Specify the directory with Cargo.toml to quickly surface issues.
Instructions
Check for errors in a Rust project using 'cargo check'.
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": {
"directory": "<directory>"
},
"name": "check_rust"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envPath | No | Optional: Custom PATH environment variable. If not provided, uses system default PATH. | |
| directory | Yes | The root directory of the Rust project (where Cargo.toml is located). |