close_all_paper_positions
Close every open paper position and run at the market. Confirm with the user first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "close_all_paper_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idempotency_key | No | Optional key that makes a retry safe: the same key replays the first answer instead of acting twice. Derived from the other arguments when omitted. | |
| expected_version | No | Paper account version from get_paper_account; the command is refused if the account changed since. Fetched for you when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||