xcresult_browser_get_console
Fetch console logs and test activities for a specific test in an XCResult file. Automatically handles large outputs by saving them to a temporary file.
Instructions
Get console output and test activities for a specific test in an XCResult file. Large output (>20 lines or >2KB) is automatically saved to a temporary file.
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": {
"xcresult_path": "<xcresult_path>",
"test_id": "<test_id>"
},
"name": "xcresult_browser_get_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xcresult_path | Yes | Absolute path to the .xcresult file | |
| test_id | Yes | Test ID or index number to get console output for |