find_text
Search a document for all occurrences of specified text, with an option to match case.
Instructions
Find all occurrences of text in the document.
Args: search_text: Text to search for case_sensitive: Whether to match case
Returns: List of occurrences or error message
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": {
"search_text": "<search_text>"
},
"name": "find_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search_text | Yes | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |