rtt_read
Reads RTT log bytes from a J-Link target buffer with configurable size and timeout, enabling runtime diagnostics and debug output capture in STM32 projects.
Instructions
Read RTT log / 读取 RTT 日志.
Args: buffer_index: RTT buffer index / RTT 缓冲区索引 size: Read size (bytes) / 读取大小(字节) timeout_ms: Timeout (milliseconds) / 超时时间(毫秒)
Returns: Read result / 读取结果
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": "rtt_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| timeout_ms | No | ||
| buffer_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||