library_content_search
Search one library or all workspace libraries for posts containing a phrase in text, link title, variation, or network version; returns post IDs for content actions.
Instructions
Find library posts whose text, link title, variation or network version contains a phrase, in one library or across every library of the workspace. Returns post ids for library_content, library_content_update and library_content_delete.
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": {
"search_text": "<search_text>"
},
"name": "library_content_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1. A value that is not a whole number or is below 1 answers 400. Default: 1. | |
| per_page | No | Results per page, from 1. Values above 50 are capped at 50; below 1 answers 400. Default: 20. | |
| library_id | No | Encrypted library id from /api/library_list to search in. Omit to search every library of the workspace. | |
| search_text | Yes | Phrase to look for. Leading and trailing spaces are trimmed; blank is a 400. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. |