drift_closePerpPosition
InactiveTool of SAP MCP Server
Close a perpetual 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"
],
"properties": {
"wallet": {
"type": "string",
"description": "Solana public key (base58)"
},
"marketIndex": {
"type": "number",
"description": "Market Index parameter for Drift Close Perp Position."
},
"subAccountId": {
"type": "number",
"description": "Sub Account ID parameter for Drift Close 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