search
Search across Redmine issues, projects, wiki pages, news, documents, and changesets using a query string, with scope, type, and pagination options to narrow results.
Instructions
Search across Redmine resources using the Search API.
Args:
q: Search query string (required)
issues: Include issues in search results
projects: Include projects in search results
wiki_pages: Include wiki pages in search results
news: Include news in search results
documents: Include documents in search results
changesets: Include changesets in search results
messages: Include messages in search results
scope: Search scope - 'all', 'my_project', or 'subprojects' (default: 'all')
limit: Maximum number of results (default: 25, max: 100)
offset: Pagination offset (default: 0)
Returns:
Dictionary containing:
- results: List with id, title, type, url, description, datetime
- total_count: Total number of results
- limit: Current limit value
- offset: Current offset value
Note:
Uses Redmine Search API (Redmine 3.3+, Alpha status).
If no resource types specified, searches all types.
Example:
# Search projects only
search(q="ERP", projects=True)
# Search issues and projects
search(q="bug", issues=True, projects=True)
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": {
"q": "<q>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | ||
| news | No | ||
| limit | No | ||
| scope | No | all | |
| issues | No | ||
| offset | No | ||
| messages | No | ||
| projects | No | ||
| documents | No | ||
| changesets | No | ||
| wiki_pages | No |