list_nodes
Retrieve Swift code structure nodes filtered by module path prefix and kind, returning a JSON array of matches.
Instructions
List nodes filtered by module path prefix and/or kind.
:param module_path: Module path prefix filter (e.g. "Sources/Networking/Client.swift"). :param kind: Node kind filter: module | class | struct | enum | protocol | actor | extension | function | method | property | typealias. :return: JSON array of matching node dicts.
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": "list_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| module_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |