Run Native Test
run_native_testRun a Rust (cargo test) or Go (go test -json ./...) automation script and return a normalized result with console_logs, passed/failed/total, stdout, stderr, and a duration. Use this when you have a compiled-language script (framework: rust_cargo or go_test) and want the native runner path. For Playwright / pytest scripts, use run_tests instead.
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": {
"script_id": "<script_id>"
},
"name": "run_native_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| base_url | No | Optional BASE_URL exported to the test subprocess (for integration tests). | |
| script_id | Yes | Automation script ID. Framework is read from the script record. |