Skip to main content

Experimental Assistive Prompts and API Updates

Version Information

TypeScript/JavaScript

  • Package: @composio/core
  • Version: 0.5.5+

Python

  • Package: composio
  • Version: 0.10.10+

New Features

Experimental Assistive Prompt Configuration

Tool Router sessions now support experimental configuration for timezone-aware assistive prompts. When you provide a user’s timezone, the session returns a contextual assistive prompt that includes timezone-specific guidance.
This is an experimental feature. The API may change or be removed in future versions.
The experimental field is only available on sessions created with create(). Sessions retrieved with use() do not include the experimental data.

Toolkit Endpoint Method

The toolkit retrieve response now includes getCurrentUserEndpointMethod (TypeScript) / get_current_user_endpoint_method (Python) to indicate the HTTP method for the current user endpoint.

Breaking Changes

Trigger Pagination: page Replaced with cursor

The page parameter in listActive / list_active for trigger instances has been replaced with cursor for cursor-based pagination. There was a bug in earlier APIs which caused page param to be ignored, going ahead for pagination please use cursor instead.

Impact Summary

Migration Guide

If you are using the page parameter in listActive / list_active:
  1. Replace page with cursor
  2. For the first request, omit the cursor parameter or pass undefined/None
  3. Use the nextCursor / next_cursor from the response for subsequent requests