Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get user interviews
POSTHOG_GET_USER_INTERVIEWSTool to retrieve paginated list of user interviews for a specific project. Use when you need to access interview recordings, transcripts, and summaries.
Get Vision Alerts Events
POSTHOG_GET_VISION_ALERTS_EVENTSList vision alert events in a PostHog project. Paginated event history for this alert, newest first. Quiet no-op check rows (no state change, no error) are filtered out. Optional `?kind=...` narrows to one kind. Returns one page; use the documented pagination parameters for additional pages.
Get warehouse saved queries activity
POSTHOG_GET_WAREHOUSE_SAVED_QUERIES_ACTIVITYRetrieve activity log details for a specific PostHog warehouse saved query, including recorded changes and the users who made them.
Get warehouse saved query
POSTHOG_GET_WAREHOUSE_SAVED_QUERYRetrieve a specific PostHog warehouse saved query, including its creator, query definition, execution status, and latest execution metadata.
Get warehouse table
POSTHOG_GET_WAREHOUSE_TABLERetrieve details of a specific data warehouse table by its UUID. Use this to inspect warehouse table configuration, credentials, schema, and format.
Get Warehouse Tables
POSTHOG_GET_WAREHOUSE_TABLESTool to retrieve a paginated list of warehouse tables for a specific project. Use when you need to list, search, or discover warehouse tables. Supports pagination via limit/offset and filtering via search term.
Get web experiment
POSTHOG_GET_WEB_EXPERIMENTTool to retrieve a specific web experiment by ID from a PostHog project. Use when you need to fetch configuration details about a web experiment including variants and feature flag mapping.
Get web vitals
POSTHOG_GET_WEB_VITALSTool to retrieve web vitals metrics for a specific pathname in a PostHog project. Returns Core Web Vitals data including INP (Interaction to Next Paint), LCP (Largest Contentful Paint), CLS (Cumulative Layout Shift), and FCP (First Contentful Paint) as 90th percentile values over the past 7 days.
Initiate domain verification with saml config
POSTHOG_INITIATE_DOMAIN_VERIFICATION_WITH_SAML_CONFIGInitiates domain verification for SAML SSO authentication. This endpoint triggers the verification process for a previously created domain by checking if the required DNS TXT record has been added. **Requirements:** - Enterprise plan with SAML SSO feature - Domain must be created first via CREATE_DOMAIN_WITH_SAML_FOR_ORGANIZATION - DNS TXT record with verification_challenge value must be published **Verification Process:** 1. Create domain and receive verification_challenge value 2. Add TXT record to your domain's DNS: _posthog-challenge.yourdomain.com with the challenge value 3. Call this endpoint to verify - PostHog checks for the DNS record 4. If found, domain is_verified becomes true and SAML SSO is activated **Common Errors:** - 403: Organization lacks Enterprise plan or proper permissions - 404: Domain ID not found in organization - Verification may fail if DNS record not propagated yet (can take up to 48 hours) POST /api/organizations/{organization_id}/domains/{id}/verify/
Create Notebook Kernel Inspect
POSTHOG_INSPECT_NOTEBOOK_CODEInspect notebook kernel in a PostHog project. The signature and docstring of the name at the cursor in a Python cell, from the notebook's running kernel. Returns found=false when no kernel is running or the kernel is busy. PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Sql V2 Runs Interrupt
POSTHOG_INTERRUPT_NOTEBOOK_CELL_RUNInterrupt notebook SQL run in a PostHog project. Stop a running cell. Idempotent: interrupting an already-finished run returns its outcome unchanged. Flag-gated (revamped-py-notebooks). PostHog documents this notebook API as early access and subject to breaking changes.
Create Notebook Runs Interrupt
POSTHOG_INTERRUPT_NOTEBOOK_RUNInterrupt notebook run in a PostHog project. Stop a whole-notebook run and the cell it is on. Idempotent: stopping a run that already finished returns its outcome unchanged. Flag-gated (revamped-py-notebooks). PostHog documents this notebook API as early access and subject to breaking changes.
Create Canvas Actions Invoke
POSTHOG_INVOKE_CANVAS_ACTIONInvoke canvas action in a PostHog project. Invoke one registered action verb as the viewer.
Launch Experiment
POSTHOG_LAUNCH_EXPERIMENTLaunch experiment in a PostHog project. Launch a draft experiment.
Launch Survey
POSTHOG_LAUNCH_SURVEYLaunch survey in a PostHog project. Launch a survey by setting `start_date` to the current time. No-op if the survey is already launched (start_date set in the past) — returns the existing state unchanged. Does not affect archived surveys or surveys with an end_date in the past; unarchive or extend the end_date first.
Get Account Notebook
POSTHOG_LIST_ACCOUNT_NOTEBOOKSList account notebooks in a PostHog project. Returns one page; use the documented pagination parameters for additional pages.
List Action Selector Match Changes
POSTHOG_LIST_ACTION_SELECTOR_MATCH_CHANGESList selector match changes in a PostHog project.
List alerts for project
POSTHOG_LIST_ALERTSTool to retrieve all alerts configured for a specific PostHog project. Use when you need to view alert configurations, check alert status, or monitor what alerts are set up. Returns paginated list of alerts with their configurations, thresholds, and current states.
List projects in the current organization
POSTHOG_LIST_ALL_PROJECTS_ACROSS_ORGANIZATIONSList projects from the current organization in the authenticated user's profile, with organization context and counts.
List and manage project annotations
POSTHOG_LIST_AND_MANAGE_PROJECT_ANNOTATIONSList annotations in a PostHog project, with pagination and search options.