You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* use structured error when code execution tool errors ([a85e9d8](https://github.com/Finch-API/finch-api-node/commit/a85e9d8431d5b22e82f34606a813821f5573d197))
16
+
3
17
## 6.38.2 (2025-10-31)
4
18
5
19
Full Changelog: [v6.38.1...v6.38.2](https://github.com/Finch-API/finch-api-node/compare/v6.38.1...v6.38.2)
* A tool that runs code against a copy of the SDK.
14
14
*
15
-
* Instead of exposing every endpoint as it's own tool, which uses up too many tokens for LLMs to use at once,
15
+
* Instead of exposing every endpoint as its own tool, which uses up too many tokens for LLMs to use at once,
16
16
* we expose a single tool that can be used to search for endpoints by name, resource, operation, or tag, and then
17
17
* a generic endpoint that can be used to invoke any endpoint with the provided arguments.
18
18
*
@@ -23,15 +23,15 @@ export async function codeTool(): Promise<Endpoint> {
23
23
consttool: Tool={
24
24
name: 'execute',
25
25
description:
26
-
'Runs Typescript code to interact with the API.\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client, and it will be run.\nDo not initialize a client, but instead use the client that you are given as a parameter.\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
26
+
'Runs TypeScript code to interact with the API.\nYou are a skilled programmer writing code to interface with the service.\nDefine an async function named "run" that takes a single parameter of an initialized client, and it will be run.\nDo not initialize a client, but instead use the client that you are given as a parameter.\nYou will be returned anything that your function returns, plus the results of any console.log statements.\nIf any code triggers an error, the tool will return an error response, so you do not need to add error handling unless you want to output something more helpful than the raw error.\nIt is not necessary to add comments to code, unless by adding those comments you believe that you can generate better code.\nThis code will run in a container, and you will not be able to use fetch or otherwise interact with the network calls other than through the client you are given.\nAny variables you define won\'t live between successive uses of this call, so make sure to return or log any data you might need later.',
'The number of minutes until the session expires (defaults to 129,600, which is 90 days)',
81
+
},
82
82
redirect_uri: {
83
83
type: 'string',
84
84
description: 'The URI to redirect to after the Connect flow is completed',
@@ -95,17 +95,7 @@ export const tool: Tool = {
95
95
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
Copy file name to clipboardExpand all lines: packages/mcp-server/src/tools/connect/sessions/reauthenticate-connect-sessions.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ export const tool: Tool = {
61
61
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
0 commit comments