{
"id": "tool-descriptor:grep",
"_kind": "ToolDescriptor",
"_file": "extensions/tool-descriptors/grep.yaml",
"_cluster": "extensions",
"attributes": {
"schema": "{}",
"displayName": "Grep",
"description": "Content search across files, typically backed by ripgrep. Returns\nmatching files or content lines.\n",
"inputSchema": {
"type": "object",
"required": [
"pattern"
],
"properties": {
"pattern": {
"type": "string",
"description": "Regular expression pattern to search for"
},
"path": {
"type": "string",
"description": "File or directory to search (default cwd)"
},
"glob": {
"type": "string",
"description": "Glob filter for filenames"
},
"type": {
"type": "string",
"description": "ripgrep file type (e.g. js, py, rust)"
},
"output_mode": {
"type": "string",
"enum": [
"content",
"files_with_matches",
"count"
]
},
"-i": {
"type": "boolean",
"description": "Case-insensitive"
},
"-n": {
"type": "boolean",
"description": "Show line numbers"
},
"-A": {
"type": "integer"
},
"-B": {
"type": "integer"
},
"-C": {
"type": "integer"
},
"head_limit": {
"type": "integer"
},
"multiline": {
"type": "boolean"
}
}
},
"mode": "normal",
"streamable": false
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:a5c.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:babysitter-agent.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:babysitter.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:babysitter-sdk.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:cursor.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:gemini-cli.runtime@current",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
},
{
"from": "agent-runtime-impl:opencode.runtime@1.x",
"to": "tool-descriptor:grep",
"kind": "bundles",
"attributes": {}
}
]
}