Neon / warm
Delete Branch
Delete a branch. Requires confirm=true. Primary/default branches remain protected by Neon and Aweb safety checks.
Quick Start
aweb inspect neon.delete_branch
aweb add neon
aweb plan "use Neon delete branch 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.delete_branch');
console.log(plan.nextAction);
console.log(tool.inputSchema);Tool Card
Tool idneon.delete_branch
ProviderNeon (neon)
Tool namedelete_branch
Activationwarm
Healthhealthy
Trust score1.00
Transportstreamable_http
Latencynot yet measured
Cost0
Requirements and Governance
Authapi_key
Credentialsetup_required
Workspaceglobal
Approvalnone
RiskREAD, DESTRUCTIVE
Permissionsread
Credential setup/api/mcp-warehouse/credentials/neon/init
Schemas
{
"type": "object",
"properties": {
"project_id": {
"type": "string"
},
"project_alias": {
"type": "string"
},
"branch_id": {
"type": "string"
},
"branch_name": {
"type": "string"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"confirm"
],
"additionalProperties": false
}Examples
[
{
"objective": "Use Neon delete branch in an agent workflow.",
"args": {
"project_id": "<project_id>",
"project_alias": "<project_alias>",
"branch_id": "<branch_id>",
"branch_name": "<branch_name>"
}
}
]