Neon / warm
Get Consumption
Inspect Neon usage / cost-consumption data, optionally scoped by project or org.
Quick Start
aweb inspect neon.get_consumption
aweb add neon
aweb plan "use Neon get consumption in an agent workflow"import Aweb, { Agent } from '@aweb/sdk';
const aweb = new Aweb({ apiKey: process.env.AWEB_API_KEY });
const agent = new Agent({ tools: aweb.tools });
agent.add('neon');
const plan = await agent.plan('Use Neon for this workflow');
const tool = await aweb.tools.inspect('neon.get_consumption');
console.log(plan.nextAction);
console.log(tool.inputSchema);Tool Card
Tool idneon.get_consumption
ProviderNeon (neon)
Tool nameget_consumption
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0
Requirements and Governance
Authapi_key
Credentialsetup_required
Workspaceglobal
Approvalnone
RiskREAD
Permissionsread
Credential setup/api/mcp-warehouse/credentials/neon/init
Schemas
{
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"granularity": {
"type": "string",
"enum": [
"hourly",
"daily",
"monthly"
]
},
"project_id": {
"type": "string"
},
"project_alias": {
"type": "string"
},
"org_id": {
"type": "string"
}
},
"additionalProperties": false
}Examples
[
{
"objective": "Use Neon get consumption in an agent workflow.",
"args": {
"from": "<from>",
"to": "<to>",
"granularity": "<granularity>",
"project_id": "<project_id>"
}
}
]