mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
fix: document action/query params in PacketAnalysisTool description
This commit is contained in:
parent
2a34d0ef58
commit
c357d52fbf
@ -71,15 +71,20 @@ class PacketAnalysisTool(BaseTool):
|
||||
|
||||
Use this to analyze captured packets when diagnosing network issues.
|
||||
|
||||
**Before calling this tool**, first query `get_packet_analysis_protocol`
|
||||
to get the correct tshark field names and display filter for the protocol.
|
||||
Construct `tshark_args` from the skills data, not from memory.
|
||||
**Before calling this tool**, use `search_fields` action to look up
|
||||
valid tshark field names from the live tshark field registry, or query
|
||||
`get_packet_analysis_protocol` for protocol-level skill definitions.
|
||||
Construct `tshark_args` using accurate field names.
|
||||
|
||||
Input (JSON format):
|
||||
Input (JSON format) — capture analysis mode:
|
||||
- project_id (str, required): UUID of the GNS3 project
|
||||
- link_id (str, required): UUID of the link to analyze
|
||||
- tshark_args (str, required): tshark command arguments (after '-r <pcap>')
|
||||
|
||||
Input (JSON format) — field search mode (no capture needed):
|
||||
- action (str): "search_fields"
|
||||
- query (str): Protocol or keyword to search (e.g., "ospf", "bgp")
|
||||
|
||||
Common tshark argument patterns:
|
||||
-Y "<filter>" Display filter
|
||||
-T fields Tab-separated field output
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user