trace_stop
Stop an active capture session and retrieve the trace. Quit the game normally first to preserve the full trace; a forced kill prevents apitrace from flushing the final data.
Instructions
Stop a session and report the resulting trace.
Prefer quitting the game in-game first: a forced kill can lose the tail of the trace because apitrace never gets to flush.
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": {
"session": "<session>"
},
"name": "trace_stop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| session | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||