Skip to content
Tools/Workspace & Portfolios/get_organization

get_organization

Get the organisation that owns the current workspace's portfolio. Reads the singleton `portfolio.upg.organization`. Returns `{ organization: null }` when no portfolio document exists yet.

Workspace & Portfoliosatomic (read-only)

Arguments

No arguments — this tool takes no input.

Returns

Shape
{ organization: UPGOrganization | null, portfolio_file? }

Returns { organization: null } when no portfolio document exists yet.

Examples

Live call against the Notion example graph.

Output

{
  "organization": {
    "id": "org_1853eb2e",
    "title": "Portfolio"
  },
  "portfolio_file": ".upg/portfolio.upg"
}

See Also