Check Position Limits
check_position_limitsValidate a proposed order against the active agent profile's position limits to prevent violations. Returns passed=true when compliant.
Instructions
Validate a proposed order against the active agent profile's position limits. Returns passed=true when no violations are found.
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": {
"order": "<order>"
},
"name": "check_position_limits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| account_id | No | ||
| profile_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passed | Yes | True if all limit checks passed. | |
| profileId | Yes | Profile used for the check. | |
| violations | No | List of violated limits. |