import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.tools.insight_tool_get_definitions()
# Handle response
print(res)
[
{
"id": 1,
"name": "llm_tool",
"type": "<string>",
"description": "An LLM tool evaluates a transcript with a given prompt",
"tool_parameters": "<any>",
"tool_result_set": "<any>"
}
]
Get a InsightTool by Name.
import os
from syllable_sdk import SyllableSDK
with SyllableSDK(
api_key_header=os.getenv("SYLLABLESDK_API_KEY_HEADER", ""),
) as ss_client:
res = ss_client.insights.tools.insight_tool_get_definitions()
# Handle response
print(res)
[
{
"id": 1,
"name": "llm_tool",
"type": "<string>",
"description": "An LLM tool evaluates a transcript with a given prompt",
"tool_parameters": "<any>",
"tool_result_set": "<any>"
}
]
Successful Response
The response is of type InsightToolDefinition · object[]
.