Tool Details: convexTransact

Basic Information

Tool Name:convexTransact
Asset Name:Convex Transact
Description:Execute a transaction against a Convex peer
Adapter:convex
Asset Hash:0x97fae037ec94fec0d286394f3535e1224da893b8d23b2c0361ee86a5b5d3c6ab
Input
PropertyTypeDescription
seedstringEd25519 signing seed for the transaction
sourcestringConvex Lisp source code to transact
addressstringOrigin account address to use for the transaction
peerstringConvex peer endpoint, e.g.: peer.convex.live:18888
Output
PropertyTypeDescription
errorCodestringError code, if an error occurred
valueanyResult of the query, as JSON (some type distinctions may be lost).
resultstringResult of the query, as Convex printed data structure.

MCP Tool Usage Examples

This tool can be called via the MCP (Model Context Protocol) endpoint. Here are examples of how to use it:

JSON-RPC Call Example:

POST to https://venue-test.covia.ai/mcp

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "convexTransact",
    "arguments": {
      "input": "your input here"
    }
  }
}
cURL Example:
curl -X POST https://venue-test.covia.ai/mcp \\
  -H "Content-Type: application/json" \\
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "convexTransact",
      "arguments": {
        "input": "your input here"
      }
    }
  }'
Python Example:
import requests
import json

url = "https://venue-test.covia.ai/mcp"
payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "convexTransact",
        "arguments": {
            "input": "your input here"
        }
    }
}

response = requests.post(url, json=payload)
result = response.json()
print(result)
JavaScript/Node.js Example:
const fetch = require('node-fetch');

const url = 'https://venue-test.covia.ai/mcp';
const payload = {
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: {
        name: 'convexTransact',
        arguments: {
            input: 'your input here'
        }
    }
};

fetch(url, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data));

Asset Metadata

{
	"name": "Convex Transact",
	"description": "Execute a transaction against a Convex peer",
	"operation": {
		"adapter": "convex:transact",
		"toolName": "convexTransact",
		"input": {
			"type": "object",
			"properties": {
				"peer": {
					"type": "string",
					"description": "Convex peer endpoint, e.g.: peer.convex.live:18888"
				},
				"address": {
					"type": "string",
					"description": "Origin account address to use for the transaction"
				},
				"source": {
					"type": "string",
					"description": "Convex Lisp source code to transact"
				},
				"seed": {
					"type": "string",
					"secret":true,
					"description": "Ed25519 signing seed for the transaction"
				}
			}
		},
		"output": {
			"type": "object",
			"description": "Result of the Convex query",
			"properties": {
				"errorCode": {
					"type": "string",
					"description": "Error code, if an error occurred",
					"default": "peer.convex.live:18888"
				},
				"result": {
					"type": "string",
					"description": "Result of the query, as Convex printed data structure."
				},
				"value": {
					"type": "any",
					"description": "Result of the query, as JSON (some type distinctions may be lost)."
				}
			}
		}
	}
}

Navigation

Back to adapter details

Back to all adapters

Back to index