compile
Build the embedded project and return the firmware footprint. Read-only, no hardware access, no call limits.
Instructions
编译项目并返回固件占用。只读,不碰硬件,可自由调用、无次数限制。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board | No | 板型 id。省略则由 sketch.yaml 的 FQBN 推断或用默认。 | |
| project_dir | No | 项目目录。省略则用 server 启动时的默认项目。 |