drift_openPerpPosition
InactiveTool of SAP MCP Server
Open a perpetual futures position on Drift. 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.
Parameters schema
{
"type": "object",
"required": [
"wallet",
"marketIndex",
"direction",
"size"
],
"properties": {
"size": {
"type": "string",
"description": "Position size in base token units"
},
"price": {
"type": "number",
"description": "Limit price (required for limit orders)"
},
"wallet": {
"type": "string",
"description": "Solana public key (base58)"
},
"leverage": {
"type": "number",
"description": "Leverage multiplier (max 20x)"
},
"direction": {
"enum": [
"long",
"short"
],
"type": "string",
"description": "Direction parameter for Drift Open Perp Position."
},
"orderType": {
"enum": [
"market",
"limit"
],
"type": "string",
"description": "Order Type parameter for Drift Open Perp Position."
},
"reduceOnly": {
"type": "boolean",
"description": "Reduce Only parameter for Drift Open Perp Position."
},
"marketIndex": {
"type": "number",
"description": "Drift perp market index (0=SOL-PERP, 1=BTC-PERP, etc.)"
},
"subAccountId": {
"type": "number",
"description": "Sub Account ID parameter for Drift Open Perp Position."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
SAP MCP Server
https://github.com/OOBE-PROTOCOL/sap-mcp
2/7 registries