Skip to main content

Calendar: Get Event Tool

Usage

All Portia tools using API endpoints that require OAuth are built with plug and play authentication support. They use Portia client credentials including client ID, client name and redirect URL. Such tools will raise a Action Clarification with an OAuth link as the action URL. The portia.wait_for_ready() method must be used in this scenario: Portia's OAuth server will listen for the authentication result and resolve the concerned clarification, allowing your plan run to resume again.

For more on this, please visit to the section on running Portia tools ().

Tool details

Tool ID: portia:google:gcalendar:get_event_details

Tool description: Gets Google Calendar event using an event ID.

Args schema:

{
"description": "Schema for getting details about a Google Calendar event.",
"properties": {
"event_id": {
"description": "The event details to retrieve",
"title": "Event Id",
"type": "string"
}
},
"required": [
"event_id"
],
"title": "GoogleCalendarGetEventDetailsSchema",
"type": "object"
}

Output schema:

('dict', 'A dictionary containing information about a single calendar event')