Polarion MCP DocsPortal

polarion_search_in_document

Searches for work items within a specific document using a query. Scoped to a single document unlike the project-wide polarion_search_workitems.

When to use

To find specific work items within a known document. More targeted than project-wide search when you already know which document contains the items you are looking for.

Parameters

ParameterTypeRequiredDescription
project_idstringYesThe Polarion project ID
space_idstringYesThe space ID
document_namestringYesThe document name
querystringYesSearch query text
work_item_typestringNoFilter by work item type
limitintegerNoMax results (default 25, max 200 for this tool)

Example response

{
  "status": "success",
  "query_used": "document.title:\"SystemRequirements\" AND login",
  "data": [
    {
      "id": "Polarion-Resource-URI-or-short-id",
      "outline_number": "3.1",
      "title": "User Login Requirements",
      "type": "requirement",
      "status": "approved",
      "description": "…"
    }
  ],
  "meta": {
    "total_count": 12,
    "links": { "self": "https://…", "next": null, "prev": null, "first": "https://…", "last": "https://…" }
  }
}

Related tools