# Context

Every time the `execute` function is called, the `context` object will be used as the second parameter of the `execute` function. The `context` object has the following properties.
| Field | Type | Description |
| -------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| app | object | Information about the current document. |
| app.token | string | Document base token. |
| app.timeZone | string | The time zone of the document, such as `Asia/Shanghai` |
| app.url | string | URL of the document. |
| app.trigger | object | Automated trigger information. |
| app.trigger.type | string | Type of automation trigger, 'AddRecordTrigger' \| 'SetRecordTrigger' \| 'ChangeRecordTrigger' \| 'TimerTrigger' \| 'ReminderTrigger' \| ButtonTrigger. |
| app.trigger.recordID | string | The recordID when triggering the automation, this property is null when the trigger is "timing trigger". |
| app.trigger.tableID | string | The tableID when triggering the automation, this attribute is an empty string when the trigger is "timing trigger". |
| authorization | object | Authorization related data. After adding the authorization field in addAction, this property has a value |
| authorization.type | string | Authorization type. |
| authorization.token | string | Authorization token. |
| packID | string | App id. |
| extensionID | string | The plugin id. |
| tenantAccessToken | string | The plug-in can call [Kaiping's OpenAPI](https://open.feishu.cn/document/ukTMukTMukTM/uYTM5UjL2ETO14iNxkTN/server-api-list) with the identity of the application, such as creating new tasks, translation, etc.You need to configure useTenantAccessToken to true in addAction to use it. |
| tenantKey | string | The tenant information of the current document. |
| fetch | function | The function used to request external resources, the syntax is the same as [node-fetch](https://github.com/node-fetch/node-fetch/tree/2.x#readme), **do not use third-party libraries such as axios and got to request**, due to security restrictions, these libraries cannot be used online.