Drift Get Positions
drift_getPositionsRetrieve open positions and account info for a Drift account by providing a Solana wallet address and optional sub-account ID.
Instructions
Get all open positions and account info for a Drift account. SAP MCP context: This Synapse AgentKit tool is served beside the sap_* SDK tools. Use sap_agent_identity_plan, sap_payments_register_agent, sap_payments_update_agent, and sap_publish_tool_by_name when the capability should become part of an on-chain SAP agent profile or tool registry entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Solana public key (base58) | |
| subAccountId | No | Sub Account ID parameter for Drift Get Positions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |