tools:
- name: ping_host
description: Test network connectivity with ping
run:
kind: shell
cmd: "ping -c {{count}} {{host}}"
args:
host:
type: string
description: "Hostname or IP address to ping"
required: true
count:
type: int
description: "Number of ping packets to send"
required: false
default: 4
- name: traceroute_path
description: Trace network path to destination
run:
kind: shell
cmd: "traceroute {{options}} {{host}}"
args:
host:
type: string
description: "Destination hostname or IP address"
required: true
options:
type: string
description: "Traceroute options (e.g., -n for no DNS, -m for max hops)"
required: false
default: ""
- name: dig_dns
description: DNS lookup and query tool
run:
kind: shell
cmd: "dig {{record_type}} {{domain}} {{options}}"
args:
domain:
type: string
description: "Domain name to query (e.g., example.com)"
required: true
record_type:
type: string
description: "DNS record type (A, AAAA, MX, TXT, NS, CNAME, SOA)"
required: false
default: "A"
options:
type: string
description: "Additional dig options (e.g., +short, @8.8.8.8 for specific DNS server)"
required: false
default: ""
- name: whois_lookup
description: Perform WHOIS domain/IP lookup
run:
kind: shell
cmd: "whois {{query}}"
args:
query:
type: string
description: "Domain name or IP address to lookup"
required: true