Skip to main content
Read the L1 overview of a directory. This provides a structured, medium-length summary of directory contents, more detailed than the abstract but more concise than full content.

Python SDK

HTTP API

Parameters

string
required
Viking URI (must be a directory)

Response

string
Operation status (ok on success)
string
The L1 overview content (typically markdown-formatted)
number
Execution time in seconds

CLI

Context Layers

OpenViking provides three hierarchical levels of content:
  • L0 (Abstract): ~100 token summary via abstract()
  • L1 (Overview): Structured overview via overview() (this method)
  • L2 (Full): Complete content via read()
The overview layer is ideal for:
  • Understanding directory structure
  • Getting a medium-detail summary without reading all files
  • Agent context that needs more detail than abstract but less than full content

Implementation Details

The overview is stored in a .overview.md file within the directory. If not present, it’s generated automatically from the directory contents.

Error Cases

  • Returns error if the URI points to a file (use read() for files)
  • Returns error if the directory doesn’t exist