Get console output
amp_get_console_outputRetrieve recent console output from an AMP instance. Pass an instance ID and optionally limit to the most recent N entries to monitor or debug your game server.
Instructions
Read recent console output for one AMP instance. AMP returns whatever buffer is currently held; pass lines to limit to the most recent N entries.
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": {
"instanceId": "<instanceId>"
},
"name": "amp_get_console_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance UUID, as returned by amp_list_instances | |
| lines | No | Limit to the most recent N console entries (default: all returned by GetUpdates). |