seafile_search
Search self-hosted Seafile libraries, file names and content, users, groups, and published repos via Seafile API endpoints.
Instructions
seafile_search covers the search toolset (6 route operations). Auth header Authorization Token. Self-hosted Seafile only. seafile.com hosts are refused. Actions: get_items_search: GET /api2/items-search/. GET /api2/items-search/ (ItemsSearch). Body and query are free-form. get_published_repo_search: GET /api/v2.1/published-repo-search/. GET /api/v2.1/published-repo-search/ (PublishedRepoSearchView). Body and query are free-form. get_search_group: GET /api/v2.1/search-group/. GET /api/v2.1/search-group/ (SearchGroup). Body and query are free-form. get_search_user: GET /api2/search-user/. GET /api2/search-user/ (SearchUser). Body and query are free-form. search: GET /api2/search/. Search libraries. Query q is the text. search_file: GET /api/v2.1/search-file/. Search file names and content. Query q is the text.
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": {
"action": "<action>"
},
"name": "seafile_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Free-form JSON or form body. /api2 routes are sent as form fields. /api/v2.1 routes are sent as JSON. Secrets are redacted in previews. | |
| query | No | Query parameters, such as p for a library path or q for search. | |
| action | Yes | Seafile operation to call. | |
| params | No | Path parameters, such as repo_id or group_id. |