word_search
Find specific text in Word documents by searching paragraphs and tables. Specify file path and query to locate matches, with optional case sensitivity and result limits.
Instructions
Search for a text query across Word paragraphs and tables.
Args:
file_path: Path to the Word document (.docx).
query: Text to search for.
case_sensitive: Whether matching is case-sensitive (default: False).
max_results: Maximum results to return (default: 50).
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": {
"file_path": "<file_path>",
"query": "<query>"
},
"name": "word_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| file_path | Yes | ||
| max_results | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |