Find tshark fields
find_fieldsSearch tshark field and protocol definitions by abbreviation, name, or description to build display filters or field lists for packet analysis. Filter results by protocol and paginate rows.
Instructions
Search the fields and protocols this tshark knows (tshark -G fields) to build a
display filter or a fields list for filter_packets. Every word of query must
appear in the field's abbreviation, name or description (case-insensitive), e.g.
"result code", "teid", "Session-Id" or "retransmission". protocol keeps only the
fields of one protocol (its abbreviation, e.g. "diameter", "gtpv2", "tcp"). Rows give
the field abbreviation, its name, type (FT_UINT32, FT_STRING, ... or "protocol"), its
protocol and description; the exact abbreviation comes first, then abbreviations
that start with or contain the query, then names, then descriptions. No capture is
read.
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": {
"query": "<query>"
},
"name": "find_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most rows per page | |
| query | Yes | Words or part of a field name, such as 'result code' | |
| offset | No | Rows to skip (next_offset) | |
| output | No | summary: all but rows, plus 3 rows (<8 KB) | rows |
| redact | No | Replace subscriber identifiers in this result with tokens; ids+ips hides every IP too | off |
| columns | No | Row keys to keep (frame keys stay) | |
| protocol | No | Keep fields of this protocol (diameter, gtpv2, sip, ...) | |
| max_output_kb | No | Lower output cap, KB |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| query | No | ||
| fields | No | rows with keys: field, name, type, protocol, display, description | |
| offset | No | ||
| window | No | ||
| dropped | No | ||
| has_more | No | ||
| protocol | No | ||
| returned | No | ||
| next_offset | No | ||
| total_found | No | ||
| total_matched | No | ||
| packets_matched | No | ||
| packets_scanned | No | ||
| total_is_lower_bound | No |