import Riza from '@riza-io/api';

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

async function main() {
  const tool = await client.tools.get('id');

  console.log(tool.id);
}

main();
{
  "code": "<string>",
  "description": "<string>",
  "id": "<string>",
  "input_schema": "<any>",
  "language": "python",
  "name": "<string>",
  "revision_id": "<string>",
  "runtime_revision_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json
OK

The response is of type object.