Documentation
¶
Index ¶
- func ParseCountAndIgnoredOptions(args map[string]any) (int, []string)
- func PayloadFromResponse(resp *search.Response) map[string]any
- func RequestFromArgs(args map[string]any) (search.Request, error)
- func ResultsFromJSON(output string) []search.Result
- func ResultsFromPayload(payload map[string]any) []search.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCountAndIgnoredOptions ¶
ParseCountAndIgnoredOptions extracts count and unsupported option warnings from args.
func PayloadFromResponse ¶
PayloadFromResponse converts a normalized search response into the common JSON payload shape. Only non-zero fields are included to keep the payload compact.
func RequestFromArgs ¶
RequestFromArgs converts tool arguments into a normalized search request.
func ResultsFromJSON ¶
ResultsFromJSON extracts search results from a JSON-encoded payload.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.