import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.tools.insightsToolTest({
toolName: "summary-tool",
});
console.log(result);
}
run();{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Manually run the given insight tool against a session and return the response.
import { SyllableSDK } from "syllable-sdk";
const syllableSDK = new SyllableSDK({
apiKeyHeader: process.env["SYLLABLESDK_API_KEY_HEADER"] ?? "",
});
async function run() {
const result = await syllableSDK.insights.tools.insightsToolTest({
toolName: "summary-tool",
});
console.log(result);
}
run();{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.syllable.ai/llms.txt
Use this file to discover all available pages before exploring further.
Request model to test an insight tool.
Human readable name of insight tool configuration
"summary-tool"
The session ID of the session against which to run the tool
"283467"
The file ID of the uploaded file against which to run the tool
"283467"
Successful Response