airbyte-agent-zendesk-support 0.18.67__tar.gz → 0.18.69__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/AUTH.md +37 -8
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/CHANGELOG.md +10 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/PKG-INFO +11 -8
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/README.md +10 -7
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/REFERENCE.md +0 -1
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/introspection.py +12 -5
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/connector.py +6 -1
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/pyproject.toml +1 -1
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/.gitignore +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_strategies.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/connector_model_loader.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/local_executor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/base.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/components.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/extensions.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/schema/security.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/types.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/connector_model.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/models.py +0 -0
- {airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/airbyte_agent_zendesk_support/types.py +0 -0
|
@@ -10,11 +10,16 @@ In open source mode, you provide API credentials directly to the connector.
|
|
|
10
10
|
|
|
11
11
|
#### OAuth
|
|
12
12
|
|
|
13
|
+
`credentials` fields you need:
|
|
14
|
+
|
|
15
|
+
|
|
13
16
|
| Field Name | Type | Required | Description |
|
|
14
17
|
|------------|------|----------|-------------|
|
|
15
18
|
| `access_token` | `str` | Yes | OAuth 2.0 access token |
|
|
16
19
|
| `refresh_token` | `str` | No | OAuth 2.0 refresh token (optional) |
|
|
17
20
|
|
|
21
|
+
Example request:
|
|
22
|
+
|
|
18
23
|
```python
|
|
19
24
|
from airbyte_agent_zendesk-support import ZendeskSupportConnector
|
|
20
25
|
from airbyte_agent_zendesk-support.models import ZendeskSupportOauth20AuthConfig
|
|
@@ -29,11 +34,15 @@ connector = ZendeskSupportConnector(
|
|
|
29
34
|
|
|
30
35
|
#### Token
|
|
31
36
|
|
|
37
|
+
`credentials` fields you need:
|
|
38
|
+
|
|
32
39
|
| Field Name | Type | Required | Description |
|
|
33
40
|
|------------|------|----------|-------------|
|
|
34
41
|
| `email` | `str` | Yes | Your Zendesk account email address |
|
|
35
42
|
| `api_token` | `str` | Yes | Your Zendesk API token from Admin Center |
|
|
36
43
|
|
|
44
|
+
Example request:
|
|
45
|
+
|
|
37
46
|
```python
|
|
38
47
|
from airbyte_agent_zendesk-support import ZendeskSupportConnector
|
|
39
48
|
from airbyte_agent_zendesk-support.models import ZendeskSupportApiTokenAuthConfig
|
|
@@ -51,13 +60,22 @@ connector = ZendeskSupportConnector(
|
|
|
51
60
|
In hosted mode, you first create a connector via the Airbyte API (providing your OAuth or Token credentials), then execute operations using either the Python SDK or API. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
52
61
|
|
|
53
62
|
#### OAuth
|
|
63
|
+
Create a connector with OAuth credentials.
|
|
64
|
+
|
|
65
|
+
`credentials` fields you need:
|
|
54
66
|
|
|
55
|
-
|
|
67
|
+
|
|
68
|
+
| Field Name | Type | Required | Description |
|
|
69
|
+
|------------|------|----------|-------------|
|
|
70
|
+
| `access_token` | `str` | Yes | OAuth 2.0 access token |
|
|
71
|
+
| `refresh_token` | `str` | No | OAuth 2.0 refresh token (optional) |
|
|
72
|
+
|
|
73
|
+
Example request:
|
|
56
74
|
|
|
57
75
|
```bash
|
|
58
|
-
curl -X POST
|
|
59
|
-
-H
|
|
60
|
-
-H
|
|
76
|
+
curl -X POST "https://api.airbyte.ai/v1/integrations/connectors" \
|
|
77
|
+
-H "Authorization: Bearer <SCOPED_TOKEN>" \
|
|
78
|
+
-H "Content-Type: application/json" \
|
|
61
79
|
-d '{
|
|
62
80
|
"external_user_id": "<EXTERNAL_USER_ID>",
|
|
63
81
|
"connector_type": "Zendesk-Support",
|
|
@@ -70,16 +88,27 @@ curl -X POST 'https://api.airbyte.ai/v1/integrations/connectors' \
|
|
|
70
88
|
```
|
|
71
89
|
|
|
72
90
|
#### Token
|
|
91
|
+
Create a connector with Token credentials.
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
`credentials` fields you need:
|
|
95
|
+
|
|
96
|
+
| Field Name | Type | Required | Description |
|
|
97
|
+
|------------|------|----------|-------------|
|
|
98
|
+
| `email` | `str` | Yes | Your Zendesk account email address |
|
|
99
|
+
| `api_token` | `str` | Yes | Your Zendesk API token from Admin Center |
|
|
100
|
+
|
|
101
|
+
Example request:
|
|
73
102
|
|
|
74
|
-
Create a connector with Token credentials:
|
|
75
103
|
|
|
76
104
|
```bash
|
|
77
|
-
curl -X POST
|
|
78
|
-
-H
|
|
79
|
-
-H
|
|
105
|
+
curl -X POST "https://api.airbyte.ai/v1/integrations/connectors" \
|
|
106
|
+
-H "Authorization: Bearer <SCOPED_TOKEN>" \
|
|
107
|
+
-H "Content-Type: application/json" \
|
|
80
108
|
-d '{
|
|
81
109
|
"external_user_id": "<EXTERNAL_USER_ID>",
|
|
82
110
|
"connector_type": "Zendesk-Support",
|
|
111
|
+
"name": "My Zendesk-Support Connector",
|
|
83
112
|
"credentials": {
|
|
84
113
|
"email": "<Your Zendesk account email address>",
|
|
85
114
|
"api_token": "<Your Zendesk API token from Admin Center>"
|
{airbyte_agent_zendesk_support-0.18.67 → airbyte_agent_zendesk_support-0.18.69}/CHANGELOG.md
RENAMED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Zendesk Support changelog
|
|
2
2
|
|
|
3
|
+
## [0.18.69] - 2026-01-28
|
|
4
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
5
|
+
- Source commit: f6c6fca2
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.18.68] - 2026-01-28
|
|
9
|
+
- Updated connector definition (YAML version 0.1.9)
|
|
10
|
+
- Source commit: 71f48c10
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
3
13
|
## [0.18.67] - 2026-01-27
|
|
4
14
|
- Updated connector definition (YAML version 0.1.9)
|
|
5
15
|
- Source commit: 0f5e1914
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-zendesk-support
|
|
3
|
-
Version: 0.18.
|
|
3
|
+
Version: 0.18.69
|
|
4
4
|
Summary: Airbyte Zendesk-Support Connector for AI platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
6
|
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
@@ -115,10 +115,11 @@ async def zendesk-support_execute(entity: str, action: str, params: dict | None
|
|
|
115
115
|
return await connector.execute(entity, action, params or {})
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
|
|
119
118
|
## Full documentation
|
|
120
119
|
|
|
121
|
-
|
|
120
|
+
### Entities and actions
|
|
121
|
+
|
|
122
|
+
This connector supports the following entities and actions. For more details, see this connector's [full reference documentation](REFERENCE.md).
|
|
122
123
|
|
|
123
124
|
| Entity | Actions |
|
|
124
125
|
|--------|---------|
|
|
@@ -146,14 +147,16 @@ This connector supports the following entities and actions.
|
|
|
146
147
|
| Article Attachments | [List](./REFERENCE.md#article-attachments-list), [Get](./REFERENCE.md#article-attachments-get), [Download](./REFERENCE.md#article-attachments-download) |
|
|
147
148
|
|
|
148
149
|
|
|
149
|
-
|
|
150
|
+
### Authentication and configuration
|
|
151
|
+
|
|
152
|
+
For all authentication and configuration options, see the connector's [authentication documentation](AUTH.md).
|
|
150
153
|
|
|
151
|
-
|
|
154
|
+
### Zendesk-Support API docs
|
|
152
155
|
|
|
153
|
-
|
|
156
|
+
See the official [Zendesk-Support API reference](https://developer.zendesk.com/api-reference/ticketing/introduction/).
|
|
154
157
|
|
|
155
158
|
## Version information
|
|
156
159
|
|
|
157
|
-
- **Package version:** 0.18.
|
|
160
|
+
- **Package version:** 0.18.69
|
|
158
161
|
- **Connector version:** 0.1.9
|
|
159
|
-
- **Generated with Connector SDK commit SHA:**
|
|
162
|
+
- **Generated with Connector SDK commit SHA:** f6c6fca292b291b200b31e4056856465129ae703
|
|
@@ -82,10 +82,11 @@ async def zendesk-support_execute(entity: str, action: str, params: dict | None
|
|
|
82
82
|
return await connector.execute(entity, action, params or {})
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
|
|
86
85
|
## Full documentation
|
|
87
86
|
|
|
88
|
-
|
|
87
|
+
### Entities and actions
|
|
88
|
+
|
|
89
|
+
This connector supports the following entities and actions. For more details, see this connector's [full reference documentation](REFERENCE.md).
|
|
89
90
|
|
|
90
91
|
| Entity | Actions |
|
|
91
92
|
|--------|---------|
|
|
@@ -113,14 +114,16 @@ This connector supports the following entities and actions.
|
|
|
113
114
|
| Article Attachments | [List](./REFERENCE.md#article-attachments-list), [Get](./REFERENCE.md#article-attachments-get), [Download](./REFERENCE.md#article-attachments-download) |
|
|
114
115
|
|
|
115
116
|
|
|
116
|
-
|
|
117
|
+
### Authentication and configuration
|
|
118
|
+
|
|
119
|
+
For all authentication and configuration options, see the connector's [authentication documentation](AUTH.md).
|
|
117
120
|
|
|
118
|
-
|
|
121
|
+
### Zendesk-Support API docs
|
|
119
122
|
|
|
120
|
-
|
|
123
|
+
See the official [Zendesk-Support API reference](https://developer.zendesk.com/api-reference/ticketing/introduction/).
|
|
121
124
|
|
|
122
125
|
## Version information
|
|
123
126
|
|
|
124
|
-
- **Package version:** 0.18.
|
|
127
|
+
- **Package version:** 0.18.69
|
|
125
128
|
- **Connector version:** 0.1.9
|
|
126
|
-
- **Generated with Connector SDK commit SHA:**
|
|
129
|
+
- **Generated with Connector SDK commit SHA:** f6c6fca292b291b200b31e4056856465129ae703
|
|
@@ -380,7 +380,11 @@ def describe_entities(model: ConnectorModelProtocol) -> list[dict[str, Any]]:
|
|
|
380
380
|
return entities
|
|
381
381
|
|
|
382
382
|
|
|
383
|
-
def generate_tool_description(
|
|
383
|
+
def generate_tool_description(
|
|
384
|
+
model: ConnectorModelProtocol,
|
|
385
|
+
*,
|
|
386
|
+
enable_hosted_mode_features: bool = True,
|
|
387
|
+
) -> str:
|
|
384
388
|
"""Generate AI tool description from connector metadata.
|
|
385
389
|
|
|
386
390
|
Produces a detailed description that includes:
|
|
@@ -393,6 +397,7 @@ def generate_tool_description(model: ConnectorModelProtocol) -> str:
|
|
|
393
397
|
|
|
394
398
|
Args:
|
|
395
399
|
model: Object conforming to ConnectorModelProtocol (e.g., ConnectorModel)
|
|
400
|
+
enable_hosted_mode_features: When False, omit hosted-mode search guidance from the docstring.
|
|
396
401
|
|
|
397
402
|
Returns:
|
|
398
403
|
Formatted description string suitable for AI tool documentation
|
|
@@ -402,8 +407,9 @@ def generate_tool_description(model: ConnectorModelProtocol) -> str:
|
|
|
402
407
|
# at the first empty line and only keeps the initial section.
|
|
403
408
|
|
|
404
409
|
# Entity/action parameter details (including pagination params like limit, starting_after)
|
|
405
|
-
search_field_paths = _collect_search_field_paths(model)
|
|
406
|
-
|
|
410
|
+
search_field_paths = _collect_search_field_paths(model) if enable_hosted_mode_features else {}
|
|
411
|
+
# Avoid a "PARAMETERS:" header because some docstring parsers treat it as a params section marker.
|
|
412
|
+
lines.append("ENTITIES (ACTIONS + PARAMS):")
|
|
407
413
|
for entity in model.entities:
|
|
408
414
|
lines.append(f" {entity.name}:")
|
|
409
415
|
actions = getattr(entity, "actions", []) or []
|
|
@@ -427,8 +433,9 @@ def generate_tool_description(model: ConnectorModelProtocol) -> str:
|
|
|
427
433
|
lines.append(" To paginate: pass starting_after=<last_id> while has_more is true")
|
|
428
434
|
|
|
429
435
|
lines.append("GUIDELINES:")
|
|
430
|
-
|
|
431
|
-
|
|
436
|
+
if enable_hosted_mode_features:
|
|
437
|
+
lines.append(' - Prefer cached search over direct API calls when using execute(): action="search" whenever possible.')
|
|
438
|
+
lines.append(" - Direct API actions (list/get/download) are slower and should be used only if search cannot answer the query.")
|
|
432
439
|
lines.append(" - Keep results small: use params.fields, params.query.filter, small params.limit, and cursor pagination.")
|
|
433
440
|
lines.append(" - If output is too large, refine the query with tighter filters/fields/limit.")
|
|
434
441
|
|
|
@@ -817,6 +817,7 @@ class ZendeskSupportConnector:
|
|
|
817
817
|
func: _F | None = None,
|
|
818
818
|
*,
|
|
819
819
|
update_docstring: bool = True,
|
|
820
|
+
enable_hosted_mode_features: bool = True,
|
|
820
821
|
max_output_chars: int | None = DEFAULT_MAX_OUTPUT_CHARS,
|
|
821
822
|
) -> _F | Callable[[_F], _F]:
|
|
822
823
|
"""
|
|
@@ -835,12 +836,16 @@ class ZendeskSupportConnector:
|
|
|
835
836
|
|
|
836
837
|
Args:
|
|
837
838
|
update_docstring: When True, append connector capabilities to __doc__.
|
|
839
|
+
enable_hosted_mode_features: When False, omit hosted-mode search sections from docstrings.
|
|
838
840
|
max_output_chars: Max serialized output size before raising. Use None to disable.
|
|
839
841
|
"""
|
|
840
842
|
|
|
841
843
|
def decorate(inner: _F) -> _F:
|
|
842
844
|
if update_docstring:
|
|
843
|
-
description = generate_tool_description(
|
|
845
|
+
description = generate_tool_description(
|
|
846
|
+
ZendeskSupportConnectorModel,
|
|
847
|
+
enable_hosted_mode_features=enable_hosted_mode_features,
|
|
848
|
+
)
|
|
844
849
|
original_doc = inner.__doc__ or ""
|
|
845
850
|
if original_doc.strip():
|
|
846
851
|
full_doc = f"{original_doc.strip()}\n{description}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|