[
{
"type": "function",
"function": {
"name": "acn_discover",
"description": "Search ACN marketplace for services. Returns ranked results with pricing and quality scores.",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Natural language description of what you need"
},
"category": {
"type": "string",
"enum": ["data_intelligence", "ai_ml", "communication", "blockchain", "utility"],
"description": "Optional category filter"
},
"max_price_per_call": {
"type": "number",
"description": "Maximum price per call in USDC"
}
},
"required": ["query"]
}
}
},
{
"type": "function",
"function": {
"name": "acn_execute",
"description": "Execute a service discovered on ACN. Costs are deducted from your balance automatically.",
"parameters": {
"type": "object",
"properties": {
"provider_id": {
"type": "string",
"description": "Provider ID from discovery results"
},
"endpoint_slug": {
"type": "string",
"description": "Endpoint slug from discovery results"
},
"payload": {
"type": "object",
"description": "Request payload matching the endpoint's parameter schema"
}
},
"required": ["provider_id", "endpoint_slug", "payload"]
}
}
}
]