WebCull
cli

Graph Relationships

Use graph commands to understand relationships around saved bookmarks and folders.

Use Graph Commands To Understand Relationships

A tree shows where a bookmark or folder lives. A graph shows how saved items relate. Graph commands are useful for competitor research, knowledge maps, launch planning, and agent workflows that need to explain why items are connected.

bookmarks tree
Shows physical placement under folders.
graph
Shows relationships around bookmark and folder IDs, including what contains what and how items connect.

Inspect Nearby Relationships

webcull graph around --stack-id 2301 --depth 1 --limit 50 --fields id,parent_id,type,title,url
{
  "success": "true",
  "command": "graph around",
  "stack_id": 2301,
  "direction": "both",
  "depth": 1,
  "nodes": [
    {
      "id": 2000,
      "parent_id": 0,
      "type": "folder",
      "title": "Marketing",
      "url": "",
      "depth": 1
    },
    {
      "id": 2301,
      "parent_id": 2000,
      "type": "folder",
      "title": "Competitors",
      "url": "",
      "depth": 0
    },
    {
      "id": 2302,
      "parent_id": 2301,
      "type": "bookmark",
      "title": "Acme pricing",
      "url": "https://acme.example/pricing",
      "depth": 1
    }
  ],
  "edges": [
    {
      "from": 2000,
      "to": 2301,
      "type": "contains",
      "source": "hierarchy"
    },
    {
      "from": 2301,
      "to": 2302,
      "type": "contains",
      "source": "hierarchy"
    }
  ],
  "returned_nodes": 3,
  "returned_edges": 2,
  "truncated": false
}
nodes
The bookmarks and folders returned by the graph command. Each node has an id that can be passed to another CLI command.
edges
The relationships between nodes. from points to to.
type
The relationship name. For folder structure, contains means one item contains another.
truncated
Whether depth, limit, or response size settings prevented a full response.

Check Graph Output Before Building On It

webcull graph validate --stack-id 2301
webcull graph schema

Use graph schema when a script needs to understand graph output. Use graph validate when you want to check whether a relationship area is complete or limited by your command options.

Safety

Graph commands are read-only, require bookmark read access, and only show data from the authorized account. They exclude notes unless you request extra fields.

Next step cli Writes Create or update one bookmark or folder with narrow, explicit write commands.