YAML — 18 Operations for AI Agents

YAML is where modern infrastructure gets decided: Kubernetes manifests, CI pipelines, Helm values, service configuration. act101 lets agents navigate those decisions structurally, so a sprawling pipeline definition reads like a table of contents instead of a wall of indentation.

This page is the canonical reference an AI coding agent uses to refactor, query, and analyze YAML code through the act MCP server. 18 operations available: 0 refactor, 18 query, 0 analysis. Each operation is callable from Claude Code, Cursor, Codex, OpenCode, or any MCP-compatible agent host. Click any operation for a stable anchor link suitable for citation.

18Query

Worked YAML examples

act101 reads a YAML document's mapping keys — top-level and nested alike — as its declarations: every key, whether it introduces a scalar, a nested mapping, or a sequence item's fields, surfaces in the skeleton as a variable named for the key. symbols goes further than the skeleton does for any of act101's other data-format grammars: it reports both the keys and their scalar values as separate entries, so a key like hosts: db_primary produces one entry for hosts and another for db_primary. The unit of structure in this grammar is the key-value pair, and a sequence such as an Ansible tasks list reports its per-item keys — name, apt, state — once for every item, without folding repeats together. Each example below is the verbatim output of the command shown, run against the file shown. Query outputs are pretty-printed with the timing block omitted.

Read a playbook's keys without its task bodies

provision-db.yaml is an Ansible playbook that installs PostgreSQL: a vars mapping and a tasks sequence of three items, each keyed by name plus a module like apt, file, or service.

$ act query skeleton provision-db.yaml

Before

name: Provision database server
hosts: db_primary
become: true

vars:
  db_version: "15"
  data_dir: /var/lib/postgresql/15/main

tasks:
  - name: Install PostgreSQL package
    apt:
      name: postgresql-15
      state: present

  - name: Ensure data directory exists
    file:
      path: "{{ data_dir }}"
      state: directory
      owner: postgres

  - name: Start PostgreSQL service
    service:
      name: postgresql
      state: started
      enabled: true

Output

{
    "type": "Skeleton",
    "declarations": [
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 1,
                    "byte_offset": 0
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 5,
                    "byte_offset": 4
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 1,
                    "byte_offset": 0
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 5,
                    "byte_offset": 4
                }
            }
        },
        {
            "kind": "variable",
            "name": "hosts",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 1,
                    "byte_offset": 32
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 6,
                    "byte_offset": 37
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 1,
                    "byte_offset": 32
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 6,
                    "byte_offset": 37
                }
            }
        },
        {
            "kind": "variable",
            "name": "become",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 1,
                    "byte_offset": 50
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 7,
                    "byte_offset": 56
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 1,
                    "byte_offset": 50
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 7,
                    "byte_offset": 56
                }
            }
        },
        {
            "kind": "variable",
            "name": "vars",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 1,
                    "byte_offset": 64
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 5,
                    "byte_offset": 68
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 1,
                    "byte_offset": 64
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 5,
                    "byte_offset": 68
                }
            }
        },
        {
            "kind": "variable",
            "name": "db_version",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 3,
                    "byte_offset": 72
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 13,
                    "byte_offset": 82
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 3,
                    "byte_offset": 72
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 13,
                    "byte_offset": 82
                }
            }
        },
        {
            "kind": "variable",
            "name": "data_dir",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 3,
                    "byte_offset": 91
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 11,
                    "byte_offset": 99
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 3,
                    "byte_offset": 91
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 11,
                    "byte_offset": 99
                }
            }
        },
        {
            "kind": "variable",
            "name": "tasks",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 1,
                    "byte_offset": 130
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 6,
                    "byte_offset": 135
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 1,
                    "byte_offset": 130
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 6,
                    "byte_offset": 135
                }
            }
        },
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 5,
                    "byte_offset": 141
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 9,
                    "byte_offset": 145
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 5,
                    "byte_offset": 141
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 9,
                    "byte_offset": 145
                }
            }
        },
        {
            "kind": "variable",
            "name": "apt",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 5,
                    "byte_offset": 178
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 8,
                    "byte_offset": 181
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 5,
                    "byte_offset": 178
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 8,
                    "byte_offset": 181
                }
            }
        },
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 7,
                    "byte_offset": 189
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 11,
                    "byte_offset": 193
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 7,
                    "byte_offset": 189
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 11,
                    "byte_offset": 193
                }
            }
        },
        {
            "kind": "variable",
            "name": "state",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 7,
                    "byte_offset": 215
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 12,
                    "byte_offset": 220
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 7,
                    "byte_offset": 215
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 12,
                    "byte_offset": 220
                }
            }
        },
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 5,
                    "byte_offset": 235
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 9,
                    "byte_offset": 239
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 5,
                    "byte_offset": 235
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 9,
                    "byte_offset": 239
                }
            }
        },
        {
            "kind": "variable",
            "name": "file",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 5,
                    "byte_offset": 274
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 9,
                    "byte_offset": 278
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 5,
                    "byte_offset": 274
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 9,
                    "byte_offset": 278
                }
            }
        },
        {
            "kind": "variable",
            "name": "path",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 7,
                    "byte_offset": 286
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 11,
                    "byte_offset": 290
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 7,
                    "byte_offset": 286
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 11,
                    "byte_offset": 290
                }
            }
        },
        {
            "kind": "variable",
            "name": "state",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 7,
                    "byte_offset": 315
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 12,
                    "byte_offset": 320
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 7,
                    "byte_offset": 315
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 12,
                    "byte_offset": 320
                }
            }
        },
        {
            "kind": "variable",
            "name": "owner",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 7,
                    "byte_offset": 338
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 12,
                    "byte_offset": 343
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 7,
                    "byte_offset": 338
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 12,
                    "byte_offset": 343
                }
            }
        },
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 5,
                    "byte_offset": 359
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 9,
                    "byte_offset": 363
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 5,
                    "byte_offset": 359
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 9,
                    "byte_offset": 363
                }
            }
        },
        {
            "kind": "variable",
            "name": "service",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 5,
                    "byte_offset": 394
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 12,
                    "byte_offset": 401
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 5,
                    "byte_offset": 394
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 12,
                    "byte_offset": 401
                }
            }
        },
        {
            "kind": "variable",
            "name": "name",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 7,
                    "byte_offset": 409
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 11,
                    "byte_offset": 413
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 7,
                    "byte_offset": 409
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 11,
                    "byte_offset": 413
                }
            }
        },
        {
            "kind": "variable",
            "name": "state",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 7,
                    "byte_offset": 432
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 12,
                    "byte_offset": 437
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 7,
                    "byte_offset": 432
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 12,
                    "byte_offset": 437
                }
            }
        },
        {
            "kind": "variable",
            "name": "enabled",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 7,
                    "byte_offset": 453
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 14,
                    "byte_offset": 460
                }
            },
            "name_range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 7,
                    "byte_offset": 453
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 14,
                    "byte_offset": 460
                }
            }
        }
    ]
}

The skeleton reports every key as a variable, including name three times — once per task — and the module keys apt, file, and service, each nested inside its own task's name.

List keys and their scalar values together

The playbook sets become: true at the top level and state: present, state: directory, and state: started inside its three tasks.

$ act query symbols provision-db.yaml

Before

name: Provision database server
hosts: db_primary
become: true

vars:
  db_version: "15"
  data_dir: /var/lib/postgresql/15/main

tasks:
  - name: Install PostgreSQL package
    apt:
      name: postgresql-15
      state: present

  - name: Ensure data directory exists
    file:
      path: "{{ data_dir }}"
      state: directory
      owner: postgres

  - name: Start PostgreSQL service
    service:
      name: postgresql
      state: started
      enabled: true

Output

{
    "type": "Symbols",
    "symbols": [
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 1,
                    "byte_offset": 0
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 5,
                    "byte_offset": 4
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "Provision database server",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 7,
                    "byte_offset": 6
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 1,
                    "column": 32,
                    "byte_offset": 31
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "hosts",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 1,
                    "byte_offset": 32
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 6,
                    "byte_offset": 37
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "db_primary",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 8,
                    "byte_offset": 39
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 2,
                    "column": 18,
                    "byte_offset": 49
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "become",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 1,
                    "byte_offset": 50
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 3,
                    "column": 7,
                    "byte_offset": 56
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "vars",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 1,
                    "byte_offset": 64
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 5,
                    "column": 5,
                    "byte_offset": 68
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "db_version",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 3,
                    "byte_offset": 72
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 13,
                    "byte_offset": 82
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "\"15\"",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 15,
                    "byte_offset": 84
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 6,
                    "column": 19,
                    "byte_offset": 88
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "data_dir",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 3,
                    "byte_offset": 91
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 11,
                    "byte_offset": 99
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "/var/lib/postgresql/15/main",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 13,
                    "byte_offset": 101
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 7,
                    "column": 40,
                    "byte_offset": 128
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "tasks",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 1,
                    "byte_offset": 130
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 9,
                    "column": 6,
                    "byte_offset": 135
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 5,
                    "byte_offset": 141
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 9,
                    "byte_offset": 145
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "Install PostgreSQL package",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 11,
                    "byte_offset": 147
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 10,
                    "column": 37,
                    "byte_offset": 173
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "apt",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 5,
                    "byte_offset": 178
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 11,
                    "column": 8,
                    "byte_offset": 181
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 7,
                    "byte_offset": 189
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 11,
                    "byte_offset": 193
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "postgresql-15",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 13,
                    "byte_offset": 195
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 12,
                    "column": 26,
                    "byte_offset": 208
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "state",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 7,
                    "byte_offset": 215
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 12,
                    "byte_offset": 220
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "present",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 14,
                    "byte_offset": 222
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 13,
                    "column": 21,
                    "byte_offset": 229
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 5,
                    "byte_offset": 235
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 9,
                    "byte_offset": 239
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "Ensure data directory exists",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 11,
                    "byte_offset": 241
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 15,
                    "column": 39,
                    "byte_offset": 269
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "file",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 5,
                    "byte_offset": 274
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 16,
                    "column": 9,
                    "byte_offset": 278
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "path",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 7,
                    "byte_offset": 286
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 11,
                    "byte_offset": 290
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "\"{{ data_dir }}\"",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 13,
                    "byte_offset": 292
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 17,
                    "column": 29,
                    "byte_offset": 308
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "state",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 7,
                    "byte_offset": 315
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 12,
                    "byte_offset": 320
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "directory",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 14,
                    "byte_offset": 322
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 18,
                    "column": 23,
                    "byte_offset": 331
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "owner",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 7,
                    "byte_offset": 338
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 12,
                    "byte_offset": 343
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "postgres",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 14,
                    "byte_offset": 345
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 19,
                    "column": 22,
                    "byte_offset": 353
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 5,
                    "byte_offset": 359
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 9,
                    "byte_offset": 363
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "Start PostgreSQL service",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 11,
                    "byte_offset": 365
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 21,
                    "column": 35,
                    "byte_offset": 389
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "service",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 5,
                    "byte_offset": 394
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 22,
                    "column": 12,
                    "byte_offset": 401
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "name",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 7,
                    "byte_offset": 409
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 11,
                    "byte_offset": 413
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "postgresql",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 13,
                    "byte_offset": 415
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 23,
                    "column": 23,
                    "byte_offset": 425
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "state",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 7,
                    "byte_offset": 432
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 12,
                    "byte_offset": 437
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "started",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 14,
                    "byte_offset": 439
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 24,
                    "column": 21,
                    "byte_offset": 446
                }
            },
            "visibility": "unknown"
        },
        {
            "name": "enabled",
            "kind": "unknown",
            "range": {
                "start": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 7,
                    "byte_offset": 453
                },
                "end": {
                    "file": "provision-db.yaml",
                    "line": 25,
                    "column": 14,
                    "byte_offset": 460
                }
            },
            "visibility": "unknown"
        }
    ]
}

symbols lists both the keys and their scalar values as separate entries, so become is followed by its own value true, and each of the three state keys is followed by its own value — present, directory, or started.

Query

18 query tools, the same on every supported language. Descriptions live in the shared reference: /docs/query-tools.

callers control_flow data_flow definition diagnostics effect_closure effect_summary fix_auto get_type graph import_organize interface mutations references repo_outline skeleton symbols symbols_batch

← XMLYANG →