Skip to main content

agent_dashboard — agent_dashboard

Section key agent_dashboard · Shape object · Tier All plans

Fields

data_sources items

Live-data bindings that populate the spec’s state per-viewer. Each entry is exactly ONE of: tool (curated read-only built-in — web_fetch, web_search, read_rss_feed, read_recent_tweets, x_read_mentions, x_search_tweets, calculate — or a custom type:code tool, with owner-fixed params), code (sandboxed body), url (an HTTPS endpoint returning JSON/XML that the server fetches + parses), file (a JSON/XML file in the agent’s dashboard_data/ directory, kept current by the agent via write_dashboard_file), or db (a read-only Postgres query). The result is written into the spec state at result_target (a JSON Pointer); the browser only ever receives the opaque minted action_id — tool/params/code/url/headers/connection strings stay server-side. Agent-push (writable) sources are not supported here (use a file source + write_dashboard_file, or a writable panel on a custom dashboard page).

data_sources.db fields

Read-only database pull; returns the rows as an array of objects. Connects to the owner’s own Postgres with the supplied connection string and runs the query inside a READ ONLY transaction with a statement timeout (writes fail; private/loopback hosts are refused unless the operator allows them in widget-security.json). Connection string + query never leave the server.