import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const response = await client.tools.exec('id');console.log(response.execution);
Execute a tool with a given input. The input is validated against the tool’s input schema.
JavaScript
Copy
Ask AI
import Riza from '@riza-io/api';const client = new Riza({ apiKey: process.env['RIZA_API_KEY'], // This is the default and can be omitted});const response = await client.tools.exec('id');console.log(response.execution);