wcc_doc_search
Search WebCenter Content documents using free-text queries and optional metadata filters, with sorting and cursor-based pagination. Returns concise or detailed metadata for each matching document.
Instructions
Search documents in WebCenter Content.
Compose a structured query (free text + optional per-metadata-field filters) and the tool builds the WCC DSL for you. There is no separate build-query step.
Pagination: pass through nextCursor from a previous response in the cursor argument to fetch the next page. Default limit is 25; the maximum is 200.
Returns the headline metadata fields for each row. Pass responseFormat: "detailed" to include revision / format / extra-metadata bag at higher token cost.
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>",
"limit": "<limit>",
"orderBy": "<orderBy>",
"responseFormat": "<responseFormat>"
},
"name": "wcc_doc_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | ||
| query | Yes | Structured search query. Either text, filters, or both. An empty spec returns every document the user can see. | |
| cursor | No | Opaque continuation token. Pass through `nextCursor` from a previous response. | |
| orderBy | Yes | Sort ordering. "relevance" lets WCC apply its default scoring (best for text queries). | relevance |
| responseFormat | Yes | Trade off context window vs. completeness. "concise" returns the headline metadata fields (default). "detailed" includes revision, original filename, format, and the full extra-metadata bag. | concise |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||