Check fit on a chip
check_fitDetermines whether a model runs on specified chips and reports measured SRAM and flash usage against each chip's budget, so you can confirm device fit before lossless or optimization.
Instructions
Check whether a model runs on one or more chips and how much SRAM and flash it needs there, measured. Takes seconds; no data needed. Returns a per-chip verdict with SRAM and flash against each chip's budget, and the SRAM lossless would reach. Use it first, before lossless or optimize.
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": {
"model_path": "<model_path>"
},
"name": "check_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chips | No | Chip names from list_chips (a list, or comma separated). Each chip is one run. Default: cortex-m-cmsis, a generic Arm Cortex-M. | |
| model_path | Yes | The model: a .tflite or .onnx file, or a .zip of a firmware export. Relative to the working directory, or starting with ~. |