Last active
October 1, 2026 20:26
-
-
Save mlafeldt/e3e97b1e37ab452969a8d1c47f827f31 to your computer and use it in GitHub Desktop.
Scalable MCP Tools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Basic sanity check tool for verifying the MCP server is reachable.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": {}, | |
| "type": "object" | |
| }, | |
| "name": "ping", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "status": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Ping" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Add one security ISIN to the authenticated portfolio watchlist and return the resulting watchlist state for that security.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "Valid ISIN to add to the selected portfolio watchlist.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "add_watchlist_item", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "item": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isOnWatchlist": { | |
| "type": "boolean" | |
| }, | |
| "isin": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "isOnWatchlist" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Add Watchlist Item" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Create one security or crypto price alert in the authenticated portfolio and return the created alert plus instrument-level alert capacity.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "instrument": { | |
| "description": "Exactly one target instrument for the alert.", | |
| "oneOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "kind": { | |
| "const": "security", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "kind": { | |
| "const": "crypto", | |
| "type": "string" | |
| }, | |
| "ticker": { | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "ticker" | |
| ], | |
| "type": "object" | |
| } | |
| ] | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "price": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "number" | |
| } | |
| ], | |
| "description": "Alert trigger price as a positive decimal." | |
| } | |
| }, | |
| "required": [ | |
| "instrument", | |
| "price" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "create_price_alert", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "canAddNewForInstrument": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "createdAlert": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "alertId": { | |
| "type": "string" | |
| }, | |
| "direction": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isActive": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "price": { | |
| "type": "string" | |
| }, | |
| "triggeredTimestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alertId", | |
| "direction", | |
| "isActive", | |
| "price", | |
| "triggeredTimestampUtc" | |
| ], | |
| "type": "object" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "instrument": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "identifier": { | |
| "type": "string" | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "crypto" | |
| ], | |
| "type": "string" | |
| }, | |
| "name": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "identifier", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Create Price Alert" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Remove one price alert by alert id from the authenticated portfolio after resolving its security or crypto instrument context.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "alertId": { | |
| "description": "Price-alert id to remove from the selected portfolio.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "alertId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "remove_price_alert", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "instrument": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "identifier": { | |
| "type": "string" | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "crypto" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "identifier" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "removed": { | |
| "const": true, | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Remove Price Alert" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the allowed savings-plan values and deterministic defaults for one security ISIN in the authenticated portfolio context. Use these options when choosing non-default inputs for preview_savings_plan.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "Valid ISIN whose savings-plan options should be returned.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_savings_plan_config", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "amountLimits": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "max": { | |
| "type": "string" | |
| }, | |
| "min": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "min", | |
| "max" | |
| ], | |
| "type": "object" | |
| }, | |
| "defaults": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "dayOfMonth": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "dynamizationRate": { | |
| "type": "string" | |
| }, | |
| "frequency": { | |
| "type": "string" | |
| }, | |
| "paymentMethod": { | |
| "type": "string" | |
| }, | |
| "yearMonth": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "frequency", | |
| "dayOfMonth", | |
| "yearMonth", | |
| "dynamizationRate", | |
| "paymentMethod" | |
| ], | |
| "type": "object" | |
| }, | |
| "dynamizationRates": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "frequencies": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "paymentMethods": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "schedules": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "availableYearMonths": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "dayOfMonth": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "isDefault": { | |
| "type": "boolean" | |
| }, | |
| "isEarliest": { | |
| "type": "boolean" | |
| } | |
| }, | |
| "required": [ | |
| "dayOfMonth", | |
| "isDefault", | |
| "isEarliest", | |
| "availableYearMonths" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "security": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Savings Plan Config" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Remove one security ISIN from the authenticated portfolio watchlist and return the resulting watchlist state for that security.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "Valid ISIN to remove from the selected portfolio watchlist.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "remove_watchlist_item", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "item": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isOnWatchlist": { | |
| "type": "boolean" | |
| }, | |
| "isin": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "isOnWatchlist" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Remove Watchlist Item" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the authenticated user's compact Scalable account profile and broker-portfolio resolution hints.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": {}, | |
| "type": "object" | |
| }, | |
| "name": "get_account_profile", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "brokerPortfolioContext": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "accessiblePortfolioCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| "resolution": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "autoResolvedPortfolioId": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "enum": [ | |
| "none_available", | |
| "auto_resolved", | |
| "selection_required" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "autoResolvedPortfolioId" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "required": [ | |
| "accessiblePortfolioCount", | |
| "resolution" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "profile": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "displayName": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "firstName": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "lastName": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "locale": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "personId": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "personId", | |
| "displayName", | |
| "firstName", | |
| "lastName", | |
| "locale" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Account Profile" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Get the authenticated user's details for one personal Fixed-Term account, including contractual dates, accrued interest, estimated payout, current auto-renewal setting, and deposit allocation. Junior accounts are not supported. This tool is read-only.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "fixedTermAccountId": { | |
| "description": "Fixed-Term account id returned by list_fixed_term_accounts.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "fixedTermAccountId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_fixed_term_account", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "allocation": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "balances": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "trusteeName": { | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "trusteeName", | |
| "amount" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "snapshotDateTime": { | |
| "anyOf": [ | |
| { | |
| "format": "date-time", | |
| "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "balances", | |
| "snapshotDateTime" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "autoRenewalEnabled": { | |
| "type": "boolean" | |
| }, | |
| "contractualStartDate": { | |
| "anyOf": [ | |
| { | |
| "format": "date-time", | |
| "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "currency": { | |
| "const": "EUR", | |
| "type": "string" | |
| }, | |
| "currentAccruedGrossInterest": { | |
| "anyOf": [ | |
| { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "depositAmount": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "displayName": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "effectiveInterestRate": { | |
| "anyOf": [ | |
| { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "estimatedPayoutAmount": { | |
| "anyOf": [ | |
| { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "fixedTermAccountId": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "fixedTermMonths": { | |
| "anyOf": [ | |
| { | |
| "exclusiveMinimum": 0, | |
| "maximum": 9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "maturityDate": { | |
| "anyOf": [ | |
| { | |
| "format": "date-time", | |
| "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "nominalInterestRate": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "ownerKind": { | |
| "const": "personal", | |
| "type": "string" | |
| }, | |
| "state": { | |
| "enum": [ | |
| "PENDING", | |
| "ACTIVE", | |
| "CANCELLATION_REQUESTED" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Fixed-Term Account" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the authenticated user's overnight savings account summary with explicit account selection only when needed.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "savingsAccountId": { | |
| "description": "Optional overnight savings account id to select when the authenticated user has multiple active overnight accounts.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "get_overnight_summary", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "account": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "displayName": { | |
| "type": "string" | |
| }, | |
| "isActive": { | |
| "type": "boolean" | |
| }, | |
| "ownerKind": { | |
| "enum": [ | |
| "personal", | |
| "junior" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "displayName", | |
| "ownerKind", | |
| "isActive" | |
| ], | |
| "type": "object" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "savingsAccountId": { | |
| "type": "string" | |
| }, | |
| "selection": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "source": { | |
| "enum": [ | |
| "explicit", | |
| "auto_resolve" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "source" | |
| ], | |
| "type": "object" | |
| }, | |
| "summary": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "balance": { | |
| "type": "string" | |
| }, | |
| "currentAccruedAmount": { | |
| "type": "string" | |
| }, | |
| "currentInterestBearingAmount": { | |
| "type": "string" | |
| }, | |
| "depositAccruedLifetimeAmount": { | |
| "type": "string" | |
| }, | |
| "estimatedNextPayoutAmount": { | |
| "type": "string" | |
| }, | |
| "interestRate": { | |
| "type": "string" | |
| }, | |
| "nextPayoutDate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "interestRate", | |
| "balance", | |
| "currentAccruedAmount", | |
| "currentInterestBearingAmount", | |
| "depositAccruedLifetimeAmount", | |
| "estimatedNextPayoutAmount", | |
| "nextPayoutDate" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Overnight Summary" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the broker portfolios accessible to the authenticated Scalable user. Use this when a later broker tool needs an explicit portfolioId or when multi-portfolio access must be inspected.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": {}, | |
| "type": "object" | |
| }, | |
| "name": "list_accessible_portfolios", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolios": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "portfolioId" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "resolution": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "autoResolvedPortfolioId": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "enum": [ | |
| "none_available", | |
| "auto_resolved", | |
| "selection_required" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "autoResolvedPortfolioId" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Accessible Portfolios" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "List the authenticated user's available personal Fixed-Term accounts with their current state, deposit amount, term, interest rate, and maturity date. Junior accounts are not supported. Use the returned account id with get_fixed_term_account for more details.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": {}, | |
| "type": "object" | |
| }, | |
| "name": "list_fixed_term_accounts", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "accounts": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "const": "EUR", | |
| "type": "string" | |
| }, | |
| "depositAmount": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "displayName": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "fixedTermAccountId": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "fixedTermMonths": { | |
| "anyOf": [ | |
| { | |
| "exclusiveMinimum": 0, | |
| "maximum": 9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "maturityDate": { | |
| "anyOf": [ | |
| { | |
| "format": "date-time", | |
| "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "nominalInterestRate": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "ownerKind": { | |
| "const": "personal", | |
| "type": "string" | |
| }, | |
| "state": { | |
| "enum": [ | |
| "PENDING", | |
| "ACTIVE", | |
| "CANCELLATION_REQUESTED" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "fixedTermAccountId", | |
| "displayName", | |
| "ownerKind", | |
| "state", | |
| "depositAmount", | |
| "currency", | |
| "fixedTermMonths", | |
| "nominalInterestRate", | |
| "maturityDate" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Fixed-Term Accounts" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return a compact cash, buying-power, credit, and derivatives-availability breakdown for one authenticated broker portfolio.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "get_portfolio_cash_breakdown", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "cash": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "buyingPower": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "buyingPowerWithoutCredit": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "cashBalance": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "estimatedTaxes": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "pendingBuyOrdersAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "cashBalance", | |
| "buyingPower", | |
| "buyingPowerWithoutCredit", | |
| "pendingBuyOrdersAmount", | |
| "estimatedTaxes" | |
| ], | |
| "type": "object" | |
| }, | |
| "credit": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "availableCreditLine": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "loaned": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "availableCreditLine", | |
| "loaned" | |
| ], | |
| "type": "object" | |
| }, | |
| "derivatives": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "availableForDerivatives": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "buyingPower": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "buyingPower", | |
| "availableForDerivatives" | |
| ], | |
| "type": "object" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Portfolio Cash Breakdown" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Returns a structured view of holdings for the authenticated Scalable user. Crypto holdings, when present, include coin positions and their backing ETP positions. Optionally accepts a portfolioId that must belong to the authenticated user.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "get_portfolio_holdings", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "cryptoHoldings": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "etpPositions": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "position": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "blocked": { | |
| "type": "number" | |
| }, | |
| "filled": { | |
| "type": "number" | |
| }, | |
| "pending": { | |
| "type": "number" | |
| } | |
| }, | |
| "required": [ | |
| "blocked", | |
| "filled", | |
| "pending" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "position" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "position": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "filled": { | |
| "type": "number" | |
| }, | |
| "pending": { | |
| "type": "number" | |
| }, | |
| "sellable": { | |
| "type": "number" | |
| } | |
| }, | |
| "required": [ | |
| "filled", | |
| "sellable", | |
| "pending" | |
| ], | |
| "type": "object" | |
| }, | |
| "ticker": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "ticker", | |
| "name", | |
| "position", | |
| "etpPositions" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "holdings": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currentQuote": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "type": "string" | |
| }, | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestamp": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "currency", | |
| "midPrice", | |
| "timestamp" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "position": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "blocked": { | |
| "type": "number" | |
| }, | |
| "filled": { | |
| "type": "number" | |
| }, | |
| "pending": { | |
| "type": "number" | |
| } | |
| }, | |
| "required": [ | |
| "blocked", | |
| "filled", | |
| "pending" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "savingsPlan": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "type": "number" | |
| }, | |
| "frequency": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "amount", | |
| "frequency" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "currentQuote", | |
| "savingsPlan", | |
| "position" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Portfolio Holdings" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "List portfolio groups, their holdings, and ungrouped holdings for one authenticated broker portfolio.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_portfolio_groups", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "canCreateAdditionalGroup": { | |
| "type": "boolean" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "hasReachedGroupLimit": { | |
| "type": "boolean" | |
| }, | |
| "items": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "holdings": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "pendingOrderCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "performance": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "type": "string" | |
| }, | |
| "sinceBuy": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "performance": { | |
| "type": "string" | |
| }, | |
| "simpleAbsoluteReturn": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "performance", | |
| "simpleAbsoluteReturn" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "valuation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "valuation", | |
| "currency", | |
| "sinceBuy" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "savingsPlansAmount": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId", | |
| "name", | |
| "description", | |
| "pendingOrderCount", | |
| "savingsPlansAmount", | |
| "performance", | |
| "holdings" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "ungroupedHoldings": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Portfolio Groups" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Get one portfolio group and its holdings for an authenticated broker portfolio.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "groupId": { | |
| "description": "Portfolio-group id to retrieve.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_portfolio_group", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "group": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "holdings": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "pendingOrderCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "performance": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "type": "string" | |
| }, | |
| "sinceBuy": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "performance": { | |
| "type": "string" | |
| }, | |
| "simpleAbsoluteReturn": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "performance", | |
| "simpleAbsoluteReturn" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "valuation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "valuation", | |
| "currency", | |
| "sinceBuy" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "savingsPlansAmount": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId", | |
| "name", | |
| "description", | |
| "pendingOrderCount", | |
| "savingsPlansAmount", | |
| "performance", | |
| "holdings" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Portfolio Group" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Create an empty portfolio group in one authenticated broker portfolio.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "description": { | |
| "description": "Optional description for the new portfolio group.", | |
| "maxLength": 255, | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "name": { | |
| "description": "Name for the new portfolio group.", | |
| "maxLength": 255, | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "name" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "create_portfolio_group", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "created": { | |
| "const": true, | |
| "type": "boolean" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Create Portfolio Group" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Change the name or description of one portfolio group without changing omitted fields.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "clearDescription": { | |
| "type": "boolean" | |
| }, | |
| "description": { | |
| "maxLength": 255, | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "groupId": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "name": { | |
| "maxLength": 255, | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "upsert_portfolio_group", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "updated": { | |
| "const": true, | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Update Portfolio Group" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Remove one portfolio group; its holdings remain in the portfolio as ungrouped holdings.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "groupId": { | |
| "description": "Portfolio-group id to remove.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "remove_portfolio_group", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "removed": { | |
| "const": true, | |
| "type": "boolean" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Remove Portfolio Group" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Assign one or more holdings to a portfolio group in one authenticated broker portfolio. Use it to add ungrouped holdings or move holdings from another group.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "groupId": { | |
| "description": "Portfolio-group id to change.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "isins": { | |
| "description": "One or more ISINs to change.", | |
| "items": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "minItems": 1, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId", | |
| "isins" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "add_portfolio_group_holdings", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "assignedIsins": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "minItems": 1, | |
| "type": "array" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Add Portfolio Group Holdings" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": true, | |
| "openWorldHint": false, | |
| "readOnlyHint": false | |
| }, | |
| "description": "Unassign one or more holdings from a portfolio group in one authenticated broker portfolio. The holdings remain in the portfolio as ungrouped holdings.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "groupId": { | |
| "description": "Portfolio-group id to change.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "isins": { | |
| "description": "One or more ISINs to change.", | |
| "items": { | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "minItems": 1, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "groupId", | |
| "isins" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "remove_portfolio_group_holdings", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "groupId": { | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "unassignedIsins": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "minItems": 1, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Remove Portfolio Group Holdings" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return a compact overview of one authenticated broker portfolio, including valuation, timestamps, and absolute returns by timeframe.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "includeYearToDate": { | |
| "description": "Include year-to-date performance points in the overview response.", | |
| "type": "boolean" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "get_portfolio_overview", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "performance": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "simpleAbsoluteReturn": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timeframe": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "timeframe", | |
| "simpleAbsoluteReturn" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "timestamps": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "inventoryTimestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "valuationTimestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "valuationTimestampUtc", | |
| "inventoryTimestampUtc" | |
| ], | |
| "type": "object" | |
| }, | |
| "valuation": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "crypto": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securities": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "total": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "total", | |
| "securities", | |
| "crypto" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Portfolio Overview" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return chart points for one ISIN and timeframe using the authenticated market-data query path without broker-portfolio context.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "Valid ISIN to chart.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "timeframe": { | |
| "description": "Chart timeframe alias using the frozen MCP enum.", | |
| "enum": [ | |
| "one_day", | |
| "seven_days", | |
| "one_month", | |
| "three_months", | |
| "six_months", | |
| "year_to_date", | |
| "one_year", | |
| "max" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "timeframe" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_security_chart", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "closingReferencePoint": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "midPrice", | |
| "timestampUtc" | |
| ], | |
| "type": "object" | |
| }, | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "dataPoints": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "midPrice", | |
| "timestampUtc" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "source": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timeframe": { | |
| "enum": [ | |
| "one_day", | |
| "seven_days", | |
| "one_month", | |
| "three_months", | |
| "six_months", | |
| "year_to_date", | |
| "one_year", | |
| "max" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Security Chart" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return a localized summary and source list for one ISIN in en_US or de_DE without broker-portfolio context.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "ISIN to fetch news for.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "locale": { | |
| "description": "Optional news locale: en_US or de_DE. Defaults to en_US.", | |
| "enum": [ | |
| "en_US", | |
| "de_DE" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_security_news", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "locale": { | |
| "enum": [ | |
| "en_US", | |
| "de_DE" | |
| ], | |
| "type": "string" | |
| }, | |
| "sources": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "headline": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "id": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "publicationTimeUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "sourceName": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "headline", | |
| "sourceName", | |
| "publicationTimeUtc" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "summary": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "lastUpdatedAt": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "long": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "short": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "short", | |
| "long", | |
| "lastUpdatedAt" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Security News" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return merged security and crypto price alerts for one authenticated portfolio with a stable active-only filter and deterministic sorting.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "activeOnly": { | |
| "description": "When true, return only active alerts. Defaults to false.", | |
| "type": "boolean" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_price_alerts", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "activeOnly": { | |
| "type": "boolean" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "items": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "alertId": { | |
| "type": "string" | |
| }, | |
| "canAddNewForInstrument": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "direction": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "instrument": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "identifier": { | |
| "type": "string" | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "crypto" | |
| ], | |
| "type": "string" | |
| }, | |
| "name": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "identifier", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "isActive": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "price": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "triggeredTimestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "alertId", | |
| "instrument", | |
| "direction", | |
| "isActive", | |
| "price", | |
| "triggeredTimestampUtc", | |
| "canAddNewForInstrument" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Price Alerts" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the authenticated portfolio security and crypto savings plans as compact sorted items.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_savings_plans", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "items": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "type": "string" | |
| }, | |
| "configuration": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "dayOfMonth": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "dynamizationRate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "frequency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "nextExecutionDate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "paymentMethod": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "frequency", | |
| "dayOfMonth", | |
| "dynamizationRate", | |
| "paymentMethod", | |
| "nextExecutionDate" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "instrument": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "identifier": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "identifier", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "crypto" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "instrument", | |
| "amount", | |
| "configuration" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "totalSavingsPlanAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Savings Plans" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "List broker and crypto transactions for one authenticated portfolio with optional pagination and filters for activity review or follow-up detail lookup.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "cryptoCursor": { | |
| "description": "Opaque cursor returned by a previous crypto transactions page.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "cryptoTicker": { | |
| "description": "Optional crypto ticker filter for crypto transactions.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "cursor": { | |
| "description": "Opaque cursor returned by a previous transactions page.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "fromTime": { | |
| "description": "Optional inclusive lower timestamp bound in ISO-8601 format.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "includeReinvestmentSubtypes": { | |
| "description": "Whether reinvestment subtypes should be included separately.", | |
| "type": "boolean" | |
| }, | |
| "isin": { | |
| "description": "Optional ISIN filter for instrument-related transactions.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "pageSize": { | |
| "description": "Number of transactions to return per page. Defaults to 20.", | |
| "maximum": 100, | |
| "minimum": 1, | |
| "type": "integer" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "searchTerm": { | |
| "description": "Optional search term for the transactions list.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "statuses": { | |
| "description": "Optional transaction status filters. Supported values use the public transaction statuses, and loose input such as 'filled' or 'partial filled' is normalized.", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "toTime": { | |
| "description": "Optional inclusive upper timestamp bound in ISO-8601 format.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "transactionTypes": { | |
| "description": "Optional transaction type filters. Supported values use the public transaction categories, and loose input such as 'buy' or 'cash transfer in' is normalized.", | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_portfolio_transactions", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "crypto": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "page": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "nextCursor": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "returnedCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| "totalCount": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "nextCursor", | |
| "totalCount", | |
| "returnedCount" | |
| ], | |
| "type": "object" | |
| }, | |
| "transactions": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "category": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "coinQuantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "non_trade_security", | |
| "unknown" | |
| ], | |
| "type": "string" | |
| }, | |
| "lastEventAt": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "side": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "ticker": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "kind", | |
| "category", | |
| "status", | |
| "currency", | |
| "lastEventAt", | |
| "description", | |
| "ticker", | |
| "transactionType", | |
| "coinQuantity", | |
| "quantity", | |
| "amount", | |
| "side" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "required": [ | |
| "page", | |
| "transactions" | |
| ], | |
| "type": "object" | |
| }, | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "page": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "nextCursor": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "returnedCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| "totalCount": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "nextCursor", | |
| "totalCount", | |
| "returnedCount" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "transactions": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "cash": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "relatedIsin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "relatedIsin", | |
| "transactionType", | |
| "amount" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "category": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "custodian": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "eltif": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "side": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "transactionType", | |
| "quantity", | |
| "amount", | |
| "side" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "isCancellation": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security", | |
| "cash", | |
| "non_trade_security", | |
| "eltif", | |
| "unknown" | |
| ], | |
| "type": "string" | |
| }, | |
| "lastEventAt": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "nonTradeSecurity": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "transactionType", | |
| "quantity", | |
| "amount" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "security": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "limitPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "side": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "stopPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "transactionType", | |
| "quantity", | |
| "amount", | |
| "side", | |
| "limitPrice", | |
| "stopPrice" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "kind", | |
| "category", | |
| "status", | |
| "currency", | |
| "isCancellation", | |
| "lastEventAt", | |
| "description", | |
| "custodian", | |
| "security", | |
| "cash", | |
| "nonTradeSecurity", | |
| "eltif" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Portfolio Transactions" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the authenticated portfolio watchlist as compact sorted items with list-focused quote summaries.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_watchlist_items", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "items": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currentQuote": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isOutdated": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "midPrice", | |
| "currency", | |
| "timestampUtc", | |
| "isOutdated" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType", | |
| "currentQuote" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Watchlist Items" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "List the supported order venues enabled for one broker portfolio. Use this before an order preview when a venue choice is needed; an order preview still validates the selected security, side, and quantity.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "name": "list_order_venues", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "venues": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "label": { | |
| "enum": [ | |
| "Gettex", | |
| "Xetra", | |
| "EIX" | |
| ], | |
| "type": "string" | |
| }, | |
| "venue": { | |
| "enum": [ | |
| "gettex", | |
| "xetra", | |
| "eix" | |
| ], | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "venue", | |
| "label" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "List Order Venues" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the selected security identity and the latest available quote snapshot within one authenticated broker portfolio.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "description": "Valid ISIN to look up within the selected broker portfolio.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "isin" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_security_quote", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "security": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "quote": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "askPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "bidPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isOutdated": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "performanceDate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "performances": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "performance": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "simpleAbsoluteReturn": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timeframe": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "timeframe", | |
| "performance", | |
| "simpleAbsoluteReturn" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "quoteTickId": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "quoteTickId", | |
| "midPrice", | |
| "bidPrice", | |
| "askPrice", | |
| "currency", | |
| "timestampUtc", | |
| "isOutdated", | |
| "performanceDate", | |
| "performances" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityId": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "securityId", | |
| "isin", | |
| "name", | |
| "securityType", | |
| "quote" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Security Quote" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the reduced v1 derivative discovery surface for one underlying ISIN with compact pagination and typed price details.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "derivativeType": { | |
| "description": "Derivative family to search.", | |
| "enum": [ | |
| "knockout", | |
| "warrant", | |
| "factor" | |
| ], | |
| "type": "string" | |
| }, | |
| "limit": { | |
| "description": "Maximum number of derivatives to return. Defaults to 50.", | |
| "maximum": 100, | |
| "minimum": 1, | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "description": "Zero-based pagination offset. Defaults to 0.", | |
| "maximum": 2147483647, | |
| "minimum": 0, | |
| "type": "integer" | |
| }, | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "strategy": { | |
| "description": "Strategy filter constrained by the derivative family.", | |
| "enum": [ | |
| "long", | |
| "short", | |
| "call", | |
| "put" | |
| ], | |
| "type": "string" | |
| }, | |
| "underlyingIsin": { | |
| "description": "Valid ISIN of the underlying security.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "derivativeType", | |
| "underlyingIsin", | |
| "strategy" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "search_derivatives", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "page": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "limit": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "returnedCount": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "totalAvailable": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "offset", | |
| "limit", | |
| "totalAvailable", | |
| "returnedCount" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "query": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "derivativeType": { | |
| "enum": [ | |
| "knockout", | |
| "warrant", | |
| "factor" | |
| ], | |
| "type": "string" | |
| }, | |
| "limit": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "offset": { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| "strategy": { | |
| "enum": [ | |
| "long", | |
| "short", | |
| "call", | |
| "put" | |
| ], | |
| "type": "string" | |
| }, | |
| "underlyingIsin": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "derivativeType", | |
| "underlyingIsin", | |
| "strategy", | |
| "limit", | |
| "offset" | |
| ], | |
| "type": "object" | |
| }, | |
| "results": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "delta": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "distanceToKnockout": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "distanceToStrike": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "expiry": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "date": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "epochDay": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isOpenEnd": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "date", | |
| "epochDay", | |
| "isOpenEnd" | |
| ], | |
| "type": "object" | |
| }, | |
| "factor": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "impliedVolatility": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "issuer": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "knockoutBarrier": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currencyIsoCode": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "money", | |
| "point" | |
| ], | |
| "type": "string" | |
| }, | |
| "value": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "currencyIsoCode", | |
| "value" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "leverage": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "omega": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "premiumAbsolute": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currencyIsoCode": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "value": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "currencyIsoCode", | |
| "value" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "premiumPercentage": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "productSubcategory": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "strategy": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "strike": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currencyIsoCode": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "money", | |
| "point" | |
| ], | |
| "type": "string" | |
| }, | |
| "value": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "kind", | |
| "currencyIsoCode", | |
| "value" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "underlyingIsin": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "isin", | |
| "underlyingIsin", | |
| "issuer", | |
| "strategy", | |
| "productSubcategory", | |
| "leverage", | |
| "factor", | |
| "omega", | |
| "delta", | |
| "impliedVolatility", | |
| "distanceToKnockout", | |
| "distanceToStrike", | |
| "strike", | |
| "knockoutBarrier", | |
| "premiumAbsolute", | |
| "premiumPercentage", | |
| "expiry" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Search Derivatives" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Search securities within one authenticated broker portfolio and return compact sorted hits with canonical Broker security-details links for valid ISINs and data for follow-up quote, chart, or watchlist flows.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "query": { | |
| "description": "Non-empty security search query.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "search_securities", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "query": { | |
| "type": "string" | |
| }, | |
| "results": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currentQuote": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isOutdated": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "midPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "number" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestampUtc": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "midPrice", | |
| "currency", | |
| "timestampUtc", | |
| "isOutdated" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "type": "string" | |
| }, | |
| "links": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "securityDetails": { | |
| "format": "uri", | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "securityDetails" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType", | |
| "currentQuote" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Search Securities" | |
| }, | |
| { | |
| "annotations": { | |
| "destructiveHint": false, | |
| "openWorldHint": false, | |
| "readOnlyHint": true | |
| }, | |
| "description": "Return the detailed activity view for one authenticated broker transaction, including status history and variant-specific trade or cash details.", | |
| "execution": { | |
| "taskSupport": "forbidden" | |
| }, | |
| "inputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "portfolioId": { | |
| "description": "Optional portfolio id to select when the authenticated account has multiple broker portfolios.", | |
| "minLength": 1, | |
| "type": "string" | |
| }, | |
| "transactionId": { | |
| "description": "Broker transaction id to inspect.", | |
| "minLength": 1, | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "transactionId" | |
| ], | |
| "type": "object" | |
| }, | |
| "name": "get_transaction_details", | |
| "outputSchema": { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "additionalProperties": false, | |
| "properties": { | |
| "error": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "code": { | |
| "enum": [ | |
| "auth_required", | |
| "auth_invalid", | |
| "forbidden", | |
| "portfolio_context_required", | |
| "portfolio_not_found", | |
| "portfolio_not_owned", | |
| "portfolio_group_not_found", | |
| "portfolio_groups_quota_exceeded", | |
| "portfolio_groups_limit_reached", | |
| "broker_transaction_not_found", | |
| "input_invalid", | |
| "resource_not_found", | |
| "rate_limited", | |
| "trade_confirmation_expired", | |
| "trade_confirmation_invalid", | |
| "trade_acknowledgement_required", | |
| "trade_order_not_cancelable", | |
| "savings_plan_confirmation_expired", | |
| "savings_plan_confirmation_invalid", | |
| "upstream_unavailable", | |
| "internal_error" | |
| ], | |
| "type": "string" | |
| }, | |
| "message": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "code", | |
| "message" | |
| ], | |
| "type": "object" | |
| }, | |
| "portfolioId": { | |
| "type": "string" | |
| }, | |
| "transaction": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "cash": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "sddiDetails": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "fee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "grossAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "fee", | |
| "grossAmount" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "taxDetails": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "grossAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "taxAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "grossAmount", | |
| "taxAmount" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "transactionType", | |
| "amount", | |
| "description", | |
| "taxDetails", | |
| "sddiDetails" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "category": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "currency": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "documents": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "id": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "label": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "label", | |
| "url" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "eltif": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "cancelable": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "daysLeft": { | |
| "anyOf": [ | |
| { | |
| "maximum": 9007199254740991, | |
| "minimum": -9007199254740991, | |
| "type": "integer" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isCancelable": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "daysLeft", | |
| "isCancelable" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "earliestSellDate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "executionDate": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "executionPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "finalisationReason": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isInitialInvestment": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isMultipleOrdersCancellation": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "marketValuation": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "orderKind": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "side": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "tradingVenue": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "side", | |
| "orderKind", | |
| "amount", | |
| "finalisationReason", | |
| "quantity", | |
| "executionPrice", | |
| "executionDate", | |
| "earliestSellDate", | |
| "marketValuation", | |
| "tradingVenue", | |
| "isMultipleOrdersCancellation", | |
| "isInitialInvestment", | |
| "cancelable" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "history": { | |
| "items": { | |
| "additionalProperties": false, | |
| "properties": { | |
| "amount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "eltifQuantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "executionPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "numberOfShares": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "filled": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "total": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "filled", | |
| "total" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "state": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "timestamp": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "state", | |
| "timestamp", | |
| "numberOfShares", | |
| "executionPrice", | |
| "amount", | |
| "eltifQuantity" | |
| ], | |
| "type": "object" | |
| }, | |
| "type": "array" | |
| }, | |
| "id": { | |
| "type": "string" | |
| }, | |
| "isCancellation": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isPending": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "kind": { | |
| "enum": [ | |
| "security_trade", | |
| "cash", | |
| "non_trade_security", | |
| "eltif", | |
| "unknown" | |
| ], | |
| "type": "string" | |
| }, | |
| "lastEventAt": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "linkedTransactionIds": { | |
| "items": { | |
| "type": "string" | |
| }, | |
| "type": "array" | |
| }, | |
| "nonTradeSecurity": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "averagePrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "description": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "quantity": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "totalAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "transactionType", | |
| "quantity", | |
| "averagePrice", | |
| "totalAmount", | |
| "description" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "security": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "isin": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "name": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "isin", | |
| "name", | |
| "securityType" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "securityTrade": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "aggregatedTransactionTaxes": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "capitalGainsTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "churchTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "financialTransactionTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "solidarityTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "sourceTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "totalTax": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "totalTax", | |
| "capitalGainsTax", | |
| "churchTax", | |
| "solidarityTax", | |
| "sourceTax", | |
| "financialTransactionTax" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "averagePrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "fee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "finalisationReason": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "isCancellationRequested": { | |
| "anyOf": [ | |
| { | |
| "type": "boolean" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "limitPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "numberOfShares": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "filled": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "total": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "filled", | |
| "total" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "orderKind": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "side": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "status": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "stopPrice": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "taxes": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "totalAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "tradeTransactionAmounts": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "cryptoSpreadFee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "marketValuation": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "taxAmount": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionFee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "venueFee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "marketValuation", | |
| "taxAmount", | |
| "transactionFee", | |
| "venueFee", | |
| "cryptoSpreadFee" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "tradingVenue": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "trailingStop": { | |
| "anyOf": [ | |
| { | |
| "additionalProperties": false, | |
| "properties": { | |
| "latestStopPriceTimestamp": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "trailOffset": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "trailType": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "trailType", | |
| "trailOffset", | |
| "latestStopPriceTimestamp" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionalFee": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "validUntil": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "status", | |
| "side", | |
| "orderKind", | |
| "numberOfShares", | |
| "averagePrice", | |
| "totalAmount", | |
| "finalisationReason", | |
| "limitPrice", | |
| "stopPrice", | |
| "validUntil", | |
| "isCancellationRequested", | |
| "tradingVenue", | |
| "fee", | |
| "transactionalFee", | |
| "taxes", | |
| "tradeTransactionAmounts", | |
| "aggregatedTransactionTaxes", | |
| "trailingStop" | |
| ], | |
| "type": "object" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| }, | |
| "transactionReference": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "null" | |
| } | |
| ] | |
| } | |
| }, | |
| "required": [ | |
| "id", | |
| "kind", | |
| "category", | |
| "currency", | |
| "transactionReference", | |
| "lastEventAt", | |
| "isPending", | |
| "isCancellation", | |
| "security", | |
| "documents", | |
| "linkedTransactionIds", | |
| "history", | |
| "securityTrade", | |
| "cash", | |
| "nonTradeSecurity", | |
| "eltif" | |
| ], | |
| "type": "object" | |
| } | |
| }, | |
| "type": "object" | |
| }, | |
| "title": "Get Transaction Details" | |
| } | |
| ] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dumped via