Search bin
search_binSearch everything the bin holds (docs, graph nodes, graph descriptions, received messages) by words and by meaning at once. A paraphrase finds a note that shares no words with it. Use it to recall something stored earlier when you do not have its id.
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": {
"q": "<q>"
},
"name": "search_bin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of results, 1 to 50. Default 10. | |
| q | Yes | What to look for, in plain words. Up to 1000 bytes. | |
| min | No | Drop matches by meaning below this similarity, 0 to 1. | |
| kind | No | Only this kind: doc, node, graph or message. | |
| mode | No | `text` to match words only. | |
| graph | No | Only nodes of this graph (its id). | |
| expand | No | 1 or 2: also list nodes linked, by that many hops, to the nodes found. | |
| credential | No | The bin's credential, "{bin_id}.{secret}", as create_bin returned it. Leave it out if your client sends it as an Authorization header. |