Skip to main content

Set Csv Accounts

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTghl.set_csv_accounts

Set accounts for CSV import processing

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-set-csv-accounts-example",
"method": "tools/call",
"params": {
"name": "ghl.set_csv_accounts",
"arguments": {
"accountIds": [],
"filePath": "filePath_example",
"rowsCount": 1,
"fileName": "fileName_example",
"tenantId": "tenantId_123",
"approver": "approver_example",
"userId": "userId_123"
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"tenantId": {
"type": "string"
},
"accountIds": {
"type": "array",
"items": {
"type": "string"
}
},
"filePath": {
"type": "string"
},
"rowsCount": {
"type": "number"
},
"fileName": {
"type": "string"
},
"approver": {
"type": "string"
},
"userId": {
"type": "string"
}
},
"required": [
"accountIds",
"filePath",
"rowsCount",
"fileName"
]
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-set-csv-accounts-example",
"method": "tools/call",
"params": {
"name": "ghl.set_csv_accounts",
"arguments": {
"accountIds": [],
"filePath": "filePath_example",
"rowsCount": 1,
"fileName": "fileName_example",
"tenantId": "tenantId_123",
"approver": "approver_example",
"userId": "userId_123"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.set_csv_accounts executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}