polarion_search_work_items
Search Polarion project work items with Lucene queries, then filter, sort, and limit results to find relevant requirements, tasks, or defects.
Instructions
Search Work Items in a project with a Polarion Lucene query.
Args: project_id: Project id. Defaults to POLARION_DEFAULT_PROJECT. query: Lucene query, e.g. 'type:requirement AND status:open'. Empty returns all. limit: Maximum work items to return (default 25, max 500). page_size: REST page size (Polarion 2023 caps this at 100 by default). sort: Sort expression, e.g. 'updated' or '-created'. Prefix '-' for descending. fields: Optional sparse-field expression, e.g. '@basic' or 'title,status'. description_limit: Truncate each description to this many characters. include_custom_fields: Include configured custom fields found on the items.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "polarion_search_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | ||
| limit | No | ||
| query | No | ||
| fields | No | ||
| page_size | No | ||
| project_id | No | ||
| description_limit | No | ||
| include_custom_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||