# @composio/slim@0.27.0

Category: agent-infrastructure
Published: 2026-10-22T12:44:07Z
Source: [Composio releases](https://github.com/ComposioHQ/composio/releases/tag/%40composio/slim%400.27.0)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-10-23T00:17:57.688Z
Tags: tools, integrations, actions

## Human Summary
Composio released @composio/slim@0.27.0, adding session hooks that can intercept and block tool executions before running or before results reach the agent.

## Agent Summary
Composio @composio/slim@0.27.0 introduces session hooks in create() and update() to block tool calls or results. Blocked calls return resultType: 'blocked' across execute, executeMeta, and proxyExecute methods.

## Body
In version 0.27.0 of @composio/slim, session hooks are introduced to allow blocking tool calls prior to execution or intercepting results before they reach the agent. The create() and update() functions now accept a hooks array; setting hooks on update() replaces the full list, and passing null clears all hooks. Hooks are incompatible with experimental.sessionConfigId. Blocked calls via session.execute() and session.executeMeta() return resultType: 'blocked' , an empty data object, the hook's message in error , and a blockReason . Provider integrations report this as a failed call containing that message, and responses include hookResults when applied. Additionally, session.proxyExecute() and ctx.proxyExecute() now return a resultType of either 'completed' or 'blocked'. Because blocked requests yield no HTTP response, callers must verify resultType before reading HTTP status properties.

## Recommended actions
- Verify and update TypeScript code invoking session.proxyExecute() and ctx.proxyExecute() to check resultType before reading HTTP status.
- Do not use hooks simultaneously with experimental.sessionConfigId in session configuration.
- Handle resultType: 'blocked' when processing outputs from session.execute() and session.executeMeta().

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.