Agent Native

For instructions on how to authenticate to use this endpoint, see API overview.

Endpoints

GET

List all agent native tools

Read-only catalog of every @posthog/* native tool the runner knows.

Required API key scopes

agents:read

Example request

GET /api/projects/:project_id/agent_native_tools
export POSTHOG_PERSONAL_API_KEY=[your personal api key]
curl \
-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \
<ph_app_host>/api/projects/:project_id/agent_native_tools/

Example response

Status 200
RESPONSE
{
"tools": [
{
"id": "string",
"schema": {}
}
]
}

Community questions

Questions about this page? or post a community question.