kimi_grep
Search for regex patterns in files to identify matching lines and content.
Instructions
Search for regex patterns in files.
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": {
"pattern": "<pattern>"
},
"name": "kimi_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob filter (e.g. *.py) | |
| path | No | File or directory to search | |
| pattern | Yes | Regex pattern to search for | |
| workFolder | No |