Skip to content

Conversation

@jirispilka
Copy link
Collaborator

  • Added readOnlyHint: false to state-modifying tools (Actor tools, call-actor, add-actor, abort-actor-run)
  • Added idempotentHint: true to all idempotent read-only operations
  • Added idempotentHint: false to call-actor (creates new runs each time)
  • Added idempotentHint: true to add-actor and abort-actor-run (idempotent operations (aborting already aborted run is idempotent))
  • Set destructiveHint: true for Actor tools and call-actor (Actor runs may perform destructive operations)
  • Preserved annotations from proxied MCP server tools in src/mcp/proxy.ts

… destructiveHint is set to true as an Actor can perform any type of operation at Apify platform
@jirispilka jirispilka requested a review from MQ37 January 5, 2026 08:02
@github-actions github-actions bot added the t-ai Issues owned by the AI team. label Jan 5, 2026
@jirispilka jirispilka merged commit c6a69e4 into master Jan 5, 2026
4 checks passed
@jirispilka jirispilka deleted the fix/tool-annotations branch January 5, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants