search_docs
Search Word documents on remote FTP servers for specific keywords, returning matching files with context snippets.
Instructions
Search .doc/.docx files in a remote FTP directory for content matching the query.
Args: query: Search keyword or phrase for content matching (1-500 characters). directory_path: Remote FTP directory path to search in (1-1024 characters).
Returns: List of search results sorted by snippet count (descending), or an error message string on failure.
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": {
"query": "<query>",
"directory_path": "<directory_path>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| directory_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |