arcade-mcp/toolkits/posthog_api/arcade_posthog_api/wrapper_tools/GenerateIndividualSessionSummary.json
jottakka b7bb2c8d03
[MOAR][PostHog] Adding PostHog starter toolkit (+722) (#654)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-27 12:22:18 -03:00

181 lines
7.8 KiB
JSON

{
"name": "GenerateIndividualSessionSummary",
"fully_qualified_name": "PosthogApi.GenerateIndividualSessionSummary@0.1.0",
"description": "Generate individual AI summaries for each session.\n\nUse this tool to generate AI-powered summaries for each session individually without grouping. Useful for analyzing session data at a granular level.",
"toolkit": {
"name": "ArcadePosthogApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "project_id",
"required": true,
"description": "The ID of the project to access. Obtain it by calling /api/projects/.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
},
"inferrable": true,
"http_endpoint_parameter_name": "project_id"
},
{
"name": "session_ids_to_summarize",
"required": true,
"description": "List of session IDs for summarization, up to a maximum of 300.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "List of session IDs to summarize (max 300)"
},
"inferrable": true,
"http_endpoint_parameter_name": "session_ids"
},
{
"name": "summarization_focus_area",
"required": false,
"description": "Optional focus area for refining the session summarization. Enhances the summary by concentrating on specified topics or elements.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Optional focus area for the summarization"
},
"inferrable": true,
"http_endpoint_parameter_name": "focus_area"
}
]
},
"output": {
"description": "Response from the API endpoint 'create_session_summaries_individually'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": null,
"secrets": [
{
"key": "POSTHOG_SERVER_URL"
},
{
"key": "POSTHOG_PERSONAL_API_KEY"
}
],
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the Datadog API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "{posthog_server_url}/api/environments/{project_id}/session_summaries/create_session_summaries_individually/",
"http_method": "POST",
"headers": {},
"parameters": [
{
"name": "project_id",
"tool_parameter_name": "project_id",
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "session_ids",
"tool_parameter_name": "session_ids_to_summarize",
"description": "List of session IDs to summarize (max 300)",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "List of session IDs to summarize (max 300)"
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "focus_area",
"tool_parameter_name": "summarization_focus_area",
"description": "Optional focus area for the summarization",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Optional focus area for the summarization"
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "POSTHOG_SERVER_URL",
"parameter_name": "posthog_server_url",
"accepted_as": "path",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "POSTHOG_PERSONAL_API_KEY",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "",
"is_auth_token": false
}
],
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"session_ids\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"List of session IDs to summarize (max 300)\",\n \"maxItems\": 300,\n \"minItems\": 1\n },\n \"focus_area\": {\n \"type\": \"string\",\n \"description\": \"Optional focus area for the summarization\",\n \"maxLength\": 500\n }\n },\n \"required\": [\n \"session_ids\"\n ]\n }\n },\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"session_ids\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"List of session IDs to summarize (max 300)\",\n \"maxItems\": 300,\n \"minItems\": 1\n },\n \"focus_area\": {\n \"type\": \"string\",\n \"description\": \"Optional focus area for the summarization\",\n \"maxLength\": 500\n }\n },\n \"required\": [\n \"session_ids\"\n ]\n }\n },\n \"multipart/form-data\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"session_ids\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"description\": \"List of session IDs to summarize (max 300)\",\n \"maxItems\": 300,\n \"minItems\": 1\n },\n \"focus_area\": {\n \"type\": \"string\",\n \"description\": \"Optional focus area for the summarization\",\n \"maxLength\": 500\n }\n },\n \"required\": [\n \"session_ids\"\n ]\n }\n }\n },\n \"required\": true\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}