### ListToolExecutionLogs API Endpoint

Add ListToolExecutionLogs API endpoint for querying structured tool logs with cursor-based pagination and filtering support.

This new endpoint enables you to programmatically query and analyze tool execution logs from your Gram Functions. With cursor-based pagination and flexible filtering options, you can efficiently retrieve and process execution history for debugging, monitoring, and analytics purposes.

**Learn more about using logs**  
Check out the [logs documentation](/content/docs/insights/logs/index.html) to get started with the new API endpoint.

#### Features
- **Add local MCP registry infrastructure** [#1053](https://github.com/speakeasy-api/gram/pull/1053) \- Introduces infrastructure for local MCP registry to enhance external MCP code development. (Author: [@qstearns](https://github.com/qstearns))  
- **Small Agent API changes for response view** [#988](https://github.com/speakeasy-api/gram/pull/988) \- Updates to AgentAPI improve paginated log view capabilities for better response handling. (Author: [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))  
- **Add API endpoint to list/retrieve tool execution logs** [#1040](https://github.com/speakeasy-api/gram/pull/1040) \- New API endpoint introduced for fetching tool execution logs, enhancing monitoring capabilities. (Author: [@tgmendes](https://github.com/tgmendes))  
- **Ensure function OAuth respected in install page** [#1034](https://github.com/speakeasy-api/gram/pull/1034) \- Ensures OAuth protocols are adhered to during installations, strengthening security and user trust. (Author: [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))  
- **Replace Shiki with Monaco Editor for viewing large inline specs** [#1030](https://github.com/speakeasy-api/gram/pull/1030) \- Shifts to Monaco Editor for better handling and performance when viewing large spec files. (Author: [@simplesagar](https://github.com/simplesagar))  
- **Pin to MCP remote 0.1.25 in references that still include MCP remote** [#1042](https://github.com/speakeasy-api/gram/pull/1042) \- Pins older version of mcp-remote to avoid compatibility issues with legacy node versions. (Author: [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))

#### Bug fixes
- **Don’t brick page when dialogs close** [#1061](https://github.com/speakeasy-api/gram/pull/1061) \- Fixes freezing issues caused by dialog and popover interactions on pages. (Author: [@chase-crumbaugh](https://github.com/chase-crumbaugh))  
- **Playground doesn’t update available tools when adding/removing tools** [#1037](https://github.com/speakeasy-api/gram/pull/1037) \- Corrects toolset reflection in the user interface of the playground tool. (Author: [@simplesagar](https://github.com/simplesagar))  
- **Playground tool parameters not rendering on initial load** [#1031](https://github.com/speakeasy-api/gram/pull/1031) \- Fixes an issue with the immediate display of tool parameters upon user interaction. (Author: [@simplesagar](https://github.com/simplesagar))  
- **Ensure system env compilation case sensitive** [#1033](https://github.com/speakeasy-api/gram/pull/1033) \- Corrects environment variable compilation to be case sensitive, preventing potential bugs. (Author: [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))  
- **Pass content type when uploading to Tigris** [#1044](https://github.com/speakeasy-api/gram/pull/1044) \- Ensures correct content type setting during uploads to Tigris for better data handling. (Author: [@disintegrator](https://github.com/disintegrator))

Last updated on April 24, 2026.
