Search the library
searchRecords that match the words, as paths to read with cat, each with its title and summary. With a database, the search takes its filters and lists their counts; without one, it searches every database.
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": {
"words": "<words>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many records, 1 to 100; 20 when not given. | |
| words | Yes | The words to search for. | |
| filters | No | Filters by name, such as {"phase": "phase-3"}, with a database. A search lists the filters its database takes, with counts. | |
| database | No | The database, by the name ls / lists it under. |