find_by_name
Find files and directories matching a glob pattern like *.py within a given path. Use it instead of find or ls for targeted name searches.
Instructions
Find files or directories by name glob. Prefer this over find or ls.
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": {
"Path": "<Path>",
"Pattern": "<Pattern>"
},
"name": "find_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Path | Yes | Absolute directory to search. | |
| Pattern | Yes | Glob matched against each name, such as *.py. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |