-
Notifications
You must be signed in to change notification settings - Fork 78
feat/update-tool-desc #275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
ed750c0
4fefb7f
24c5e0d
da8f1d8
7f7969d
99af46a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,12 +30,18 @@ export const getUserDatasetsList: ToolEntry = { | |
| tool: { | ||
| name: HelperTools.DATASET_LIST_GET, | ||
| actorFullName: HelperTools.DATASET_LIST_GET, | ||
| description: 'Lists datasets (collections of Actor run data). ' | ||
| + 'Actor runs automatically produce unnamed datasets (use unnamed=true to include these). ' | ||
| + 'Users can also create named datasets manually. ' | ||
| + 'Each dataset includes itemCount, access settings, and usage stats (readCount, writeCount). ' | ||
| + 'Results are sorted by createdAt in ascending order (use desc=true for descending). ' | ||
| + 'Supports pagination with limit (max 20) and offset parameters.', | ||
| description: `List datasets (collections of Actor run data) for the authenticated user. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: should we include that it is for authenticated user? I will always be authenticated user (even in case of Skyfire - by the PAY token) |
||
| Actor runs automatically produce unnamed datasets (set unnamed=true to include them). Users can also create named datasets. | ||
|
|
||
| The results will include datasets with itemCount, access settings, and usage stats, sorted by createdAt (ascending by default). | ||
| Use limit (max 20), offset, and desc to paginate and sort. | ||
|
|
||
| USAGE: | ||
| - Use when you need to browse available datasets (named or unnamed) to locate data. | ||
|
|
||
| USAGE EXAMPLES: | ||
| - user_input: List my last 10 datasets (newest first) | ||
| - user_input: List unnamed datasets`, | ||
| inputSchema: zodToJsonSchema(getUserDatasetsListArgs), | ||
| ajvValidate: ajv.compile(zodToJsonSchema(getUserDatasetsListArgs)), | ||
| call: async (toolArgs) => { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.