net_cfg_draft
Generates Huawei or Cisco configuration drafts for VLAN, ACL, and OSPF tasks from structured parameters, returning config text and risk warnings without deploying changes.
Instructions
根据结构化参数生成华为/思科配置草稿(VLAN、ACL、OSPF),返回配置文本与风险提示,不直接下发。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"platform": "<platform>",
"task": "<task>",
"spec": "<spec>"
},
"name": "net_cfg_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | 任务参数:vlan={vlanId,name,ports[]} acl={aclNumber,permit[],deny[]} ospf={processId,area,networks[]} | |
| task | Yes | 配置任务 | |
| platform | Yes | 设备平台 |