Skip to content

Commit b18a658

Browse files
authored
Merge branch 'master' into feat/update-n8n-pictures
2 parents 6cce0a3 + 09de25b commit b18a658

File tree

4 files changed

+35
-16
lines changed

4 files changed

+35
-16
lines changed

apify-docs-theme/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apify/docs-theme",
3-
"version": "1.0.213",
3+
"version": "1.0.214",
44
"description": "",
55
"main": "./src/index.js",
66
"files": [
@@ -20,6 +20,8 @@
2020
},
2121
"dependencies": {
2222
"@apify/docs-search-modal": "^1.2.2",
23+
"@apify/ui-library": "^1.97.2",
24+
"@apify/ui-icons": "^1.19.0",
2325
"@docusaurus/theme-common": "^3.7.0",
2426
"@stackql/docusaurus-plugin-hubspot": "^1.1.0",
2527
"algoliasearch": "^5.19.0",

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sources/platform/actors/development/actor_definition/dataset_schema/validation.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,15 @@ try {
123123
</TabItem>
124124
<TabItem value="Python" label="Python">
125125
```python
126-
try:
127-
await Actor.push_data(items)
128-
except ApifyApiError as error:
129-
if "invalidItems" in error.data:
130-
validation_errors = e.data["invalidItems"]
126+
from apify import Actor
127+
from apify_client.errors import ApifyApiError
128+
129+
async with Actor:
130+
try:
131+
await Actor.push_data(items)
132+
except ApifyApiError as error:
133+
if 'invalidItems' in error.data:
134+
validation_errors = error.data['invalidItems']
131135
```
132136
</TabItem>
133137
</Tabs>
@@ -235,4 +239,3 @@ When you configure the dataset fields schema, we generate a field list and measu
235239
236240
237241
You can use them in [monitoring](../../../../monitoring#alert-configuration).
238-

sources/platform/integrations/ai/mcp.md

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -252,19 +252,13 @@ Use the UI configurator `https://mcp.apify.com/` to select your tools visually,
252252

253253
:::
254254

255-
### Dynamic tool discovery
256-
257-
One of the most powerful features is the ability to discover and use new Actors on demand. It can search Apify Store for relevant Actors using the `search-actors` tool, inspect Actor details to understand required inputs, add the Actor as a new tool, and execute it with appropriate parameters.
258-
259-
This dynamic discovery means your AI can adapt to new tasks without manual configuration. Each discovered Actor becomes immediately available for future use in the conversation.
260-
261255
### Available tools
262256

263257
| Tool name | Category | Enabled by default | Description |
264258
| :--- | :--- | :--- | :--- |
265259
| `search-actors` | actors || Search for Actors in Apify Store |
266260
| `fetch-actor-details` | actors || Retrieve detailed information about a specific Actor |
267-
| `call-actor` | actors | | Call an Actor and get its run results |
261+
| `call-actor`* | actors | | Call an Actor and get its run results |
268262
| [`apify/rag-web-browser`](https://apify.com/apify/rag-web-browser) | Actor || Browse and extract web data |
269263
| `search-apify-docs` | docs || Search the Apify documentation for relevant pages |
270264
| `fetch-apify-docs` | docs || Fetch the full content of an Apify documentation page by its URL |
@@ -279,15 +273,33 @@ This dynamic discovery means your AI can adapt to new tasks without manual confi
279273
| `get-key-value-store-record`| storage | | Get the value associated with a specific key in a key-value store |
280274
| `get-dataset-list` | storage | | List all available datasets for the user |
281275
| `get-key-value-store-list`| storage | | List all available key-value stores for the user |
282-
| `add-actor` | experimental | | Add an Actor as a new tool for the user to call |
283-
| `get-actor-output`* | - | Retrieve the output from an Actor call which is not included in the output preview of the Actor tool. ||
276+
| `add-actor`* | experimental || Add an Actor as a new tool for the user to call |
277+
| `get-actor-output`* | - || Retrieve the output from an Actor call which is not included in the output preview of the Actor tool. |
278+
284279

285280
:::note Retrieving full output
286281

287282
The `get-actor-output` tool is automatically included with any Actor-related tool, such as `call-actor`, `add-actor`, or specific Actor tools like `apify-slash-rag-web-browser`. When you call an Actor, you receive an output preview. Depending on the output format and length, the preview may contain the complete output or only a limited version to avoid overwhelming the LLM. To retrieve the full output, use the `get-actor-output` tool with the `datasetId` from the Actor call. This tool supports limit, offset, and field filtering.
288283

289284
:::
290285

286+
#### Dynamic tool discovery
287+
288+
One of the most powerful features is the ability to discover and use new Actors on demand.
289+
It can search Apify Store for relevant Actors using the `search-actors` tool, inspect Actor details to understand required inputs, add the Actor as a new tool, and execute it with appropriate parameters.
290+
291+
This dynamic discovery means your AI can adapt to new tasks without manual configuration.
292+
Each discovered Actor becomes immediately available for future use in the conversation.
293+
294+
295+
:::note Dynamic tool discovery
296+
297+
When you use the `actors` tool category, clients that support dynamic tool discovery (such as Claude.ai web and VS Code) will automatically receive the `add-actor` tool instead of `call-actor` for enhanced Actor discovery capabilities.
298+
For a detailed overview of client support for dynamic discovery, see the [MCP client capabilities package](https://github.com/apify/mcp-client-capabilities).
299+
300+
:::
301+
302+
291303
## Advanced usage
292304

293305
### Production best practices

0 commit comments

Comments
 (0)