fix list tools method name

This commit is contained in:
Dinesh Yeduguru 2025-01-07 16:17:38 -08:00
parent 87068278ac
commit 6632d7e410
12 changed files with 84 additions and 12 deletions

View file

@ -1752,6 +1752,54 @@
]
}
},
"/alpha/tool-runtime/list-tools": {
"post": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/jsonl": {
"schema": {
"$ref": "#/components/schemas/ToolDef"
}
}
}
}
},
"tags": [
"ToolRuntime"
],
"parameters": [
{
"name": "tool_group_id",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "X-LlamaStack-ProviderData",
"in": "header",
"description": "JSON-encoded provider data which will be made available to the adapter servicing the API",
"required": false,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ListRuntimeToolsRequest"
}
}
},
"required": true
}
}
},
"/alpha/scoring-functions/list": {
"get": {
"responses": {
@ -1858,7 +1906,7 @@
}
},
"tags": [
"ToolRuntime"
"ToolGroups"
],
"summary": "List tools with optional tool group",
"parameters": [
@ -6207,6 +6255,15 @@
"provider_types"
]
},
"ListRuntimeToolsRequest": {
"type": "object",
"properties": {
"mcp_endpoint": {
"$ref": "#/components/schemas/URL"
}
},
"additionalProperties": false
},
"LogSeverity": {
"type": "string",
"enum": [
@ -8189,6 +8246,10 @@
"name": "LLMAsJudgeScoringFnParams",
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LLMAsJudgeScoringFnParams\" />"
},
{
"name": "ListRuntimeToolsRequest",
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ListRuntimeToolsRequest\" />"
},
{
"name": "LogEventRequest",
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogEventRequest\" />"
@ -8706,6 +8767,7 @@
"KeywordMemoryBank",
"KeywordMemoryBankParams",
"LLMAsJudgeScoringFnParams",
"ListRuntimeToolsRequest",
"LogEventRequest",
"LogSeverity",
"LoraFinetuningConfig",

View file

@ -1122,6 +1122,12 @@ components:
- type
- judge_model
type: object
ListRuntimeToolsRequest:
additionalProperties: false
properties:
mcp_endpoint:
$ref: '#/components/schemas/URL'
type: object
LogEventRequest:
additionalProperties: false
properties:
@ -4919,6 +4925,9 @@ tags:
- description: <SchemaDefinition schemaRef="#/components/schemas/LLMAsJudgeScoringFnParams"
/>
name: LLMAsJudgeScoringFnParams
- description: <SchemaDefinition schemaRef="#/components/schemas/ListRuntimeToolsRequest"
/>
name: ListRuntimeToolsRequest
- description: <SchemaDefinition schemaRef="#/components/schemas/LogEventRequest"
/>
name: LogEventRequest
@ -5290,6 +5299,7 @@ x-tagGroups:
- KeywordMemoryBank
- KeywordMemoryBankParams
- LLMAsJudgeScoringFnParams
- ListRuntimeToolsRequest
- LogEventRequest
- LogSeverity
- LoraFinetuningConfig