Get Automation Test Command Logs
automation_get_command_logsGets the command log of a TestMu AI automation test, one page of 100 commands at a time. Web: each Selenium command with its HTTP method, path, request and response, or each Playwright and Puppeteer command with its method, heading, arguments (requestBody) and duration in ms. App: the Appium commands of the app session (needs sessionId). Strings longer than 2,000 characters (such as base64 screenshots) are cut, and about 40,000 characters are returned per call: the result gives next_offset when more of the page remains.
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": {
"testId": "<testId>",
"platform": "<platform>"
},
"name": "automation_get_command_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Entry to start from within the page (default 0); pass next_offset from the previous result | |
| testId | Yes | Test ID, from automation_list_sessions | |
| platform | Yes | "web" for browser automation, "app" for app automation | |
| sessionId | No | Required for app platform: the session_id of the app session, a UUID that app_list_sessions and automation_get_test return (not the test ID) | |
| pageNumber | No | Page of 100 commands to read (default 1); totalPageCount in automation_get_test gives the number of pages |