GET
/
sdk
/
v1
/
tools
import PromptFoundry from '@prompt-foundry/typescript-sdk';

const client = new PromptFoundry({
  apiKey: process.env['PROMPT_FOUNDRY_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const tools = await client.tools.list();

  console.log(tools);
}

main();
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "parameters": {}
  }
]

Response

200
application/json

Successful operation

The response is of type object[].