Skip to content

Tools

pastepile_recall

Search only the memory saved with the configured API key, by text, tag, and kind, so an assistant can check what it already knows before asking.

1 min read · Updated

Searches the caller's own memory and returns titles, previews, sessions and URLs, ranked by relevance and recency. Bodies are not included; fetch one with pastepile_get when the whole thing is needed.

The intended moment for this is the start of a session, when a user refers to earlier work. Checking first is cheaper for everyone than asking them to repeat context that is already stored.

Parameters

ParameterTypeDescription
querystringoptionalWords to match against titles and contents. Quoted phrases and -exclusions work. Omit it to list recent memory instead of searching.
tagsstring[]optionalOnly memories carrying ALL of these tags.
kindenumoptionalOnly memories of this kind: conversation, decision, code, research, note, or log.
limitintegeroptionalMaximum results, 1 to 100. Defaults to 20.

Example

What did we decide about auth last month?
Request
{
  "name": "pastepile_recall",
  "arguments": { "query": "auth refresh", "kind": "decision", "limit": 5 }
}

Behavior notes

  • Scope is always the configured key's own memory, including unlisted entries. It never reaches another key's memory and never reaches the public archive; pastepile_search is the tool for that.
  • Encrypted, password-protected and burn-after-read pastes are excluded, because their contents are not readable server side and listing them would imply otherwise.
  • An empty result is reported as an empty result. The tool tells the assistant not to assume a memory exists somewhere it has not looked.

Related documentation