rtt_write
Write data to a specified RTT buffer on a J-Link target to send runtime input and support embedded debugging diagnostics.
Instructions
Write data to RTT / 向 RTT 写入数据.
Args: data: Data to write / 要写入的数据 buffer_index: RTT buffer index / RTT 缓冲区索引
Returns: Write result / 写入结果
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": {
"data": "<data>"
},
"name": "rtt_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| buffer_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||