---
title: "Agent-Queried / Tool-Call Retrieval · agent retrieval pattern · Agent Fieldbook"
url: https://agentfieldbook.org/memory/retrieval/agent-queried/
description: "The agent decides when to call a memory function to page data in/out of context (self-paging)."
section: "Memory · Retrieval"
source: Agent Fieldbook — generated from the published page
---

# Agent-Queried / Tool-Call Retrieval

The agent decides when to call a memory function to page data in/out of context (self-paging).

Verified against [arxiv.org](https://arxiv.org/abs/2310.08560)

- [arxiv.org](https://arxiv.org/abs/2310.08560)

## How it works

## At a glance

| Field | Value |
| --- | --- |
| Stage | Retrieval |
| Phase | Read |
| Used by | Letta· MemGPT (function-calling memory) |

## Trade-off

Extra LLM turns and latency; the agent may fail to query when it should.

## Basis

## Verified against

- [https://arxiv.org/abs/2310.08560](https://arxiv.org/abs/2310.08560)

The corpus does not rewrite vendor documentation. Where copy is quoted verbatim it is marked as such and attributed to its source.
