sync_to_github
Capture a Zyxel GS1900 switch configuration snapshot, then commit and push it to a chosen GitHub repository and branch.
Instructions
Snapshot, then commit and push it to the operator's own repository.
The target comes from remote or ZYXEL_SYNC_REMOTE; the snapshot
directory comes from ZYXEL_SYNC_DIR. Neither has a built-in default.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_to_github"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | main | |
| remote | No | ||
| message | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |