micropython_get_info
Retrieve MicroPython device details such as platform, version, memory, CPU frequency, and filesystem usage to monitor board status.
Instructions
MicroPython ボードのデバイス情報を取得
Returns: ok: 成功 True info: 取得したデバイス情報 error: エラー時のメッセージ
Notes:
info には必要に応じて次を含む。
platform, version, implementation,
free_mem, alloc_mem, freq_mhz,
fs_total_kb, fs_free_kb
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": "micropython_get_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| info | Yes | ||
| error | Yes |