mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
Merge 01a76e0084 into 4237eb4aaa
This commit is contained in:
commit
214e296e62
25 changed files with 2550 additions and 153 deletions
294
docs/static/deprecated-llama-stack-spec.yaml
vendored
294
docs/static/deprecated-llama-stack-spec.yaml
vendored
|
|
@ -4039,8 +4039,13 @@ components:
|
|||
type: string
|
||||
title: Server Label
|
||||
server_url:
|
||||
type: string
|
||||
title: Server Url
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
|
|
@ -4073,7 +4078,6 @@ components:
|
|||
type: object
|
||||
required:
|
||||
- server_label
|
||||
- server_url
|
||||
title: OpenAIResponseInputToolMCP
|
||||
description: Model Context Protocol (MCP) tool configuration for OpenAI response inputs.
|
||||
CreateOpenaiResponseRequest:
|
||||
|
|
@ -8612,6 +8616,90 @@ components:
|
|||
- chunk_id
|
||||
title: Chunk
|
||||
description: A chunk of content that can be inserted into a vector database.
|
||||
Connector:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: connector
|
||||
title: Type
|
||||
default: connector
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the connector
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the connector
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
server_name:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Name of the server
|
||||
server_label:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Label of the server
|
||||
server_description:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Description of the server
|
||||
tools:
|
||||
anyOf:
|
||||
- items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
- type: 'null'
|
||||
description: List of tools available from the connector
|
||||
registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: ID of the registry this connector belongs to
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Connector
|
||||
description: A connector resource representing a connector registered in Llama Stack.
|
||||
ConnectorType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: ConnectorType
|
||||
description: Type of connector.
|
||||
ConversationItemInclude:
|
||||
type: string
|
||||
enum:
|
||||
|
|
@ -8702,6 +8790,42 @@ components:
|
|||
- cancelled
|
||||
title: JobStatus
|
||||
description: Status of a job execution.
|
||||
ListConnectorsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListConnectorsResponse
|
||||
description: Response containing a list of connectors.
|
||||
ListRegistriesResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListRegistriesResponse
|
||||
description: Response containing a list of registries.
|
||||
ListToolsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListToolsResponse
|
||||
description: Response containing a list of tools.
|
||||
MCPListToolsTool:
|
||||
properties:
|
||||
input_schema:
|
||||
|
|
@ -9094,6 +9218,63 @@ components:
|
|||
required:
|
||||
- reasoning_tokens
|
||||
title: OutputTokensDetails
|
||||
Registry:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: registry
|
||||
title: Type
|
||||
default: registry
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the registry
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Registry
|
||||
description: A registry resource representing a registry of connectors.
|
||||
RegistryType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: RegistryType
|
||||
description: Type of registry.
|
||||
SearchRankingOptions:
|
||||
properties:
|
||||
ranker:
|
||||
|
|
@ -9567,6 +9748,85 @@ components:
|
|||
type: string
|
||||
title: DialogType
|
||||
type: object
|
||||
RegistryInput:
|
||||
description: Input for creating a registry.
|
||||
properties:
|
||||
url:
|
||||
title: Url
|
||||
type: string
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
nullable: true
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
required:
|
||||
- url
|
||||
title: RegistryInput
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
ConnectorInput:
|
||||
description: Input for creating a connector.
|
||||
properties:
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for the connector
|
||||
nullable: true
|
||||
url:
|
||||
description: URL of the connector
|
||||
title: Url
|
||||
type: string
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
description: HTTP headers to include when connecting
|
||||
nullable: true
|
||||
authorization:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: OAuth access token for authentication
|
||||
nullable: true
|
||||
required:
|
||||
- url
|
||||
title: ConnectorInput
|
||||
type: object
|
||||
ConversationMessage:
|
||||
description: OpenAI-compatible message item for conversations.
|
||||
properties:
|
||||
|
|
@ -9651,33 +9911,6 @@ components:
|
|||
- items
|
||||
title: ConversationItemCreateRequest
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
Api:
|
||||
description: Enumeration of all available APIs in the Llama Stack system.
|
||||
enum:
|
||||
|
|
@ -9702,6 +9935,7 @@ components:
|
|||
- files
|
||||
- prompts
|
||||
- conversations
|
||||
- connectors
|
||||
- inspect
|
||||
title: Api
|
||||
type: string
|
||||
|
|
|
|||
507
docs/static/experimental-llama-stack-spec.yaml
vendored
507
docs/static/experimental-llama-stack-spec.yaml
vendored
|
|
@ -630,6 +630,219 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/SupervisedFineTuneRequest'
|
||||
required: true
|
||||
/v1alpha/connectors/{connector_id}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A Connector.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
description: Bad Request
|
||||
'429':
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
description: Too Many Requests
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
description: Internal Server Error
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
description: Default Response
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Connector
|
||||
description: Get a connector by its ID.
|
||||
operationId: get_connector_v1alpha_connectors__connector_id__get
|
||||
parameters:
|
||||
- name: include_tools
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
title: Include Tools
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
/v1alpha/connectors/{connector_id}/tools/{tool_name}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ToolDef.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Connector Tool
|
||||
description: Get a tool definition by its name from a connector.
|
||||
operationId: get_connector_tool_v1alpha_connectors__connector_id__tools__tool_name__get
|
||||
parameters:
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
- name: tool_name
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: tool_name'
|
||||
/v1alpha/connectors/registries/{registry_id}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A Registry.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Registry
|
||||
description: Get a registry by its ID.
|
||||
operationId: get_registry_v1alpha_connectors_registries__registry_id__get
|
||||
parameters:
|
||||
- name: registry_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: registry_id'
|
||||
/v1alpha/connectors/{connector_id}/tools:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListToolsResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListToolsResponse'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Connector Tools
|
||||
description: List tools available from a connector.
|
||||
operationId: list_connector_tools_v1alpha_connectors__connector_id__tools_get
|
||||
parameters:
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
/v1alpha/connectors:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListConnectorsResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListConnectorsResponse'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
description: Bad Request
|
||||
'429':
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
description: Too Many Requests
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
description: Internal Server Error
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
description: Default Response
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Connectors
|
||||
description: List all configured connectors.
|
||||
operationId: list_connectors_v1alpha_connectors_get
|
||||
parameters:
|
||||
- name: include_tools
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
title: Include Tools
|
||||
- name: registry_id
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
title: Registry Id
|
||||
/v1alpha/connectors/registries:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListRegistriesResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListRegistriesResponse'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Registries
|
||||
description: List all registries.
|
||||
operationId: list_registries_v1alpha_connectors_registries_get
|
||||
components:
|
||||
schemas:
|
||||
Error:
|
||||
|
|
@ -3579,8 +3792,13 @@ components:
|
|||
type: string
|
||||
title: Server Label
|
||||
server_url:
|
||||
type: string
|
||||
title: Server Url
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
|
|
@ -3613,7 +3831,6 @@ components:
|
|||
type: object
|
||||
required:
|
||||
- server_label
|
||||
- server_url
|
||||
title: OpenAIResponseInputToolMCP
|
||||
description: Model Context Protocol (MCP) tool configuration for OpenAI response inputs.
|
||||
OpenAIResponseObject:
|
||||
|
|
@ -7459,6 +7676,90 @@ components:
|
|||
- chunk_id
|
||||
title: Chunk
|
||||
description: A chunk of content that can be inserted into a vector database.
|
||||
Connector:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: connector
|
||||
title: Type
|
||||
default: connector
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the connector
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the connector
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
server_name:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Name of the server
|
||||
server_label:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Label of the server
|
||||
server_description:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Description of the server
|
||||
tools:
|
||||
anyOf:
|
||||
- items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
- type: 'null'
|
||||
description: List of tools available from the connector
|
||||
registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: ID of the registry this connector belongs to
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Connector
|
||||
description: A connector resource representing a connector registered in Llama Stack.
|
||||
ConnectorType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: ConnectorType
|
||||
description: Type of connector.
|
||||
DatasetPurpose:
|
||||
type: string
|
||||
enum:
|
||||
|
|
@ -7537,6 +7838,42 @@ components:
|
|||
- cancelled
|
||||
title: JobStatus
|
||||
description: Status of a job execution.
|
||||
ListConnectorsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListConnectorsResponse
|
||||
description: Response containing a list of connectors.
|
||||
ListRegistriesResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListRegistriesResponse
|
||||
description: Response containing a list of registries.
|
||||
ListToolsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListToolsResponse
|
||||
description: Response containing a list of tools.
|
||||
MCPListToolsTool:
|
||||
properties:
|
||||
input_schema:
|
||||
|
|
@ -7860,6 +8197,63 @@ components:
|
|||
required:
|
||||
- reasoning_tokens
|
||||
title: OutputTokensDetails
|
||||
Registry:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: registry
|
||||
title: Type
|
||||
default: registry
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the registry
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Registry
|
||||
description: A registry resource representing a registry of connectors.
|
||||
RegistryType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: RegistryType
|
||||
description: Type of registry.
|
||||
SearchRankingOptions:
|
||||
properties:
|
||||
ranker:
|
||||
|
|
@ -8333,6 +8727,85 @@ components:
|
|||
type: string
|
||||
title: DialogType
|
||||
type: object
|
||||
RegistryInput:
|
||||
description: Input for creating a registry.
|
||||
properties:
|
||||
url:
|
||||
title: Url
|
||||
type: string
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
nullable: true
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
required:
|
||||
- url
|
||||
title: RegistryInput
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
ConnectorInput:
|
||||
description: Input for creating a connector.
|
||||
properties:
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for the connector
|
||||
nullable: true
|
||||
url:
|
||||
description: URL of the connector
|
||||
title: Url
|
||||
type: string
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
description: HTTP headers to include when connecting
|
||||
nullable: true
|
||||
authorization:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: OAuth access token for authentication
|
||||
nullable: true
|
||||
required:
|
||||
- url
|
||||
title: ConnectorInput
|
||||
type: object
|
||||
ConversationMessage:
|
||||
description: OpenAI-compatible message item for conversations.
|
||||
properties:
|
||||
|
|
@ -8417,33 +8890,6 @@ components:
|
|||
- items
|
||||
title: ConversationItemCreateRequest
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
Api:
|
||||
description: Enumeration of all available APIs in the Llama Stack system.
|
||||
enum:
|
||||
|
|
@ -8468,6 +8914,7 @@ components:
|
|||
- files
|
||||
- prompts
|
||||
- conversations
|
||||
- connectors
|
||||
- inspect
|
||||
title: Api
|
||||
type: string
|
||||
|
|
|
|||
294
docs/static/llama-stack-spec.yaml
vendored
294
docs/static/llama-stack-spec.yaml
vendored
|
|
@ -5850,8 +5850,13 @@ components:
|
|||
type: string
|
||||
title: Server Label
|
||||
server_url:
|
||||
type: string
|
||||
title: Server Url
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
|
|
@ -5884,7 +5889,6 @@ components:
|
|||
type: object
|
||||
required:
|
||||
- server_label
|
||||
- server_url
|
||||
title: OpenAIResponseInputToolMCP
|
||||
description: Model Context Protocol (MCP) tool configuration for OpenAI response inputs.
|
||||
CreateOpenaiResponseRequest:
|
||||
|
|
@ -10054,6 +10058,90 @@ components:
|
|||
- chunk_id
|
||||
title: Chunk
|
||||
description: A chunk of content that can be inserted into a vector database.
|
||||
Connector:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: connector
|
||||
title: Type
|
||||
default: connector
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the connector
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the connector
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
server_name:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Name of the server
|
||||
server_label:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Label of the server
|
||||
server_description:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Description of the server
|
||||
tools:
|
||||
anyOf:
|
||||
- items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
- type: 'null'
|
||||
description: List of tools available from the connector
|
||||
registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: ID of the registry this connector belongs to
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Connector
|
||||
description: A connector resource representing a connector registered in Llama Stack.
|
||||
ConnectorType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: ConnectorType
|
||||
description: Type of connector.
|
||||
ConversationItemInclude:
|
||||
type: string
|
||||
enum:
|
||||
|
|
@ -10144,6 +10232,42 @@ components:
|
|||
- cancelled
|
||||
title: JobStatus
|
||||
description: Status of a job execution.
|
||||
ListConnectorsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListConnectorsResponse
|
||||
description: Response containing a list of connectors.
|
||||
ListRegistriesResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListRegistriesResponse
|
||||
description: Response containing a list of registries.
|
||||
ListToolsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListToolsResponse
|
||||
description: Response containing a list of tools.
|
||||
MCPListToolsTool:
|
||||
properties:
|
||||
input_schema:
|
||||
|
|
@ -10536,6 +10660,63 @@ components:
|
|||
required:
|
||||
- reasoning_tokens
|
||||
title: OutputTokensDetails
|
||||
Registry:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: registry
|
||||
title: Type
|
||||
default: registry
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the registry
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Registry
|
||||
description: A registry resource representing a registry of connectors.
|
||||
RegistryType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: RegistryType
|
||||
description: Type of registry.
|
||||
SearchRankingOptions:
|
||||
properties:
|
||||
ranker:
|
||||
|
|
@ -11009,6 +11190,85 @@ components:
|
|||
type: string
|
||||
title: DialogType
|
||||
type: object
|
||||
RegistryInput:
|
||||
description: Input for creating a registry.
|
||||
properties:
|
||||
url:
|
||||
title: Url
|
||||
type: string
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
nullable: true
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
required:
|
||||
- url
|
||||
title: RegistryInput
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
ConnectorInput:
|
||||
description: Input for creating a connector.
|
||||
properties:
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for the connector
|
||||
nullable: true
|
||||
url:
|
||||
description: URL of the connector
|
||||
title: Url
|
||||
type: string
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
description: HTTP headers to include when connecting
|
||||
nullable: true
|
||||
authorization:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: OAuth access token for authentication
|
||||
nullable: true
|
||||
required:
|
||||
- url
|
||||
title: ConnectorInput
|
||||
type: object
|
||||
ConversationMessage:
|
||||
description: OpenAI-compatible message item for conversations.
|
||||
properties:
|
||||
|
|
@ -11093,33 +11353,6 @@ components:
|
|||
- items
|
||||
title: ConversationItemCreateRequest
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
Api:
|
||||
description: Enumeration of all available APIs in the Llama Stack system.
|
||||
enum:
|
||||
|
|
@ -11144,6 +11377,7 @@ components:
|
|||
- files
|
||||
- prompts
|
||||
- conversations
|
||||
- connectors
|
||||
- inspect
|
||||
title: Api
|
||||
type: string
|
||||
|
|
|
|||
507
docs/static/stainless-llama-stack-spec.yaml
vendored
507
docs/static/stainless-llama-stack-spec.yaml
vendored
|
|
@ -3893,6 +3893,219 @@ paths:
|
|||
schema:
|
||||
$ref: '#/components/schemas/SupervisedFineTuneRequest'
|
||||
required: true
|
||||
/v1alpha/connectors/{connector_id}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A Connector.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
description: Bad Request
|
||||
'429':
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
description: Too Many Requests
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
description: Internal Server Error
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
description: Default Response
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Connector
|
||||
description: Get a connector by its ID.
|
||||
operationId: get_connector_v1alpha_connectors__connector_id__get
|
||||
parameters:
|
||||
- name: include_tools
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
title: Include Tools
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
/v1alpha/connectors/{connector_id}/tools/{tool_name}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ToolDef.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Connector Tool
|
||||
description: Get a tool definition by its name from a connector.
|
||||
operationId: get_connector_tool_v1alpha_connectors__connector_id__tools__tool_name__get
|
||||
parameters:
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
- name: tool_name
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: tool_name'
|
||||
/v1alpha/connectors/registries/{registry_id}:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A Registry.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: Get Registry
|
||||
description: Get a registry by its ID.
|
||||
operationId: get_registry_v1alpha_connectors_registries__registry_id__get
|
||||
parameters:
|
||||
- name: registry_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: registry_id'
|
||||
/v1alpha/connectors/{connector_id}/tools:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListToolsResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListToolsResponse'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Connector Tools
|
||||
description: List tools available from a connector.
|
||||
operationId: list_connector_tools_v1alpha_connectors__connector_id__tools_get
|
||||
parameters:
|
||||
- name: connector_id
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: 'Path parameter: connector_id'
|
||||
/v1alpha/connectors:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListConnectorsResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListConnectorsResponse'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
description: Bad Request
|
||||
'429':
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
description: Too Many Requests
|
||||
'500':
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
description: Internal Server Error
|
||||
default:
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
description: Default Response
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Connectors
|
||||
description: List all configured connectors.
|
||||
operationId: list_connectors_v1alpha_connectors_get
|
||||
parameters:
|
||||
- name: include_tools
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
type: boolean
|
||||
default: false
|
||||
title: Include Tools
|
||||
- name: registry_id
|
||||
in: query
|
||||
required: false
|
||||
schema:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
title: Registry Id
|
||||
/v1alpha/connectors/registries:
|
||||
get:
|
||||
responses:
|
||||
'200':
|
||||
description: A ListRegistriesResponse.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ListRegistriesResponse'
|
||||
'400':
|
||||
description: Bad Request
|
||||
$ref: '#/components/responses/BadRequest400'
|
||||
'429':
|
||||
description: Too Many Requests
|
||||
$ref: '#/components/responses/TooManyRequests429'
|
||||
'500':
|
||||
description: Internal Server Error
|
||||
$ref: '#/components/responses/InternalServerError500'
|
||||
default:
|
||||
description: Default Response
|
||||
$ref: '#/components/responses/DefaultError'
|
||||
tags:
|
||||
- Connectors
|
||||
summary: List Registries
|
||||
description: List all registries.
|
||||
operationId: list_registries_v1alpha_connectors_registries_get
|
||||
components:
|
||||
schemas:
|
||||
Error:
|
||||
|
|
@ -7045,8 +7258,13 @@ components:
|
|||
type: string
|
||||
title: Server Label
|
||||
server_url:
|
||||
type: string
|
||||
title: Server Url
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
|
|
@ -7079,7 +7297,6 @@ components:
|
|||
type: object
|
||||
required:
|
||||
- server_label
|
||||
- server_url
|
||||
title: OpenAIResponseInputToolMCP
|
||||
description: Model Context Protocol (MCP) tool configuration for OpenAI response inputs.
|
||||
CreateOpenaiResponseRequest:
|
||||
|
|
@ -11618,6 +11835,90 @@ components:
|
|||
- chunk_id
|
||||
title: Chunk
|
||||
description: A chunk of content that can be inserted into a vector database.
|
||||
Connector:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: connector
|
||||
title: Type
|
||||
default: connector
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the connector
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the connector
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
server_name:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Name of the server
|
||||
server_label:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Label of the server
|
||||
server_description:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Description of the server
|
||||
tools:
|
||||
anyOf:
|
||||
- items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
- type: 'null'
|
||||
description: List of tools available from the connector
|
||||
registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: ID of the registry this connector belongs to
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Connector
|
||||
description: A connector resource representing a connector registered in Llama Stack.
|
||||
ConnectorType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: ConnectorType
|
||||
description: Type of connector.
|
||||
ConversationItemInclude:
|
||||
type: string
|
||||
enum:
|
||||
|
|
@ -11708,6 +12009,42 @@ components:
|
|||
- cancelled
|
||||
title: JobStatus
|
||||
description: Status of a job execution.
|
||||
ListConnectorsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Connector'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListConnectorsResponse
|
||||
description: Response containing a list of connectors.
|
||||
ListRegistriesResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/Registry'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListRegistriesResponse
|
||||
description: Response containing a list of registries.
|
||||
ListToolsResponse:
|
||||
properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/components/schemas/ToolDef'
|
||||
type: array
|
||||
title: Data
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
title: ListToolsResponse
|
||||
description: Response containing a list of tools.
|
||||
MCPListToolsTool:
|
||||
properties:
|
||||
input_schema:
|
||||
|
|
@ -12100,6 +12437,63 @@ components:
|
|||
required:
|
||||
- reasoning_tokens
|
||||
title: OutputTokensDetails
|
||||
Registry:
|
||||
properties:
|
||||
identifier:
|
||||
type: string
|
||||
title: Identifier
|
||||
description: Unique identifier for this resource in llama stack
|
||||
provider_resource_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for this resource in the provider
|
||||
provider_id:
|
||||
type: string
|
||||
title: Provider Id
|
||||
description: ID of the provider that owns this resource
|
||||
type:
|
||||
type: string
|
||||
const: registry
|
||||
title: Type
|
||||
default: registry
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
url:
|
||||
type: string
|
||||
title: Url
|
||||
description: URL of the registry
|
||||
created_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Created At
|
||||
description: Timestamp of creation
|
||||
updated_at:
|
||||
type: string
|
||||
format: date-time
|
||||
title: Updated At
|
||||
description: Timestamp of last update
|
||||
type: object
|
||||
required:
|
||||
- identifier
|
||||
- provider_id
|
||||
- url
|
||||
- created_at
|
||||
- updated_at
|
||||
title: Registry
|
||||
description: A registry resource representing a registry of connectors.
|
||||
RegistryType:
|
||||
type: string
|
||||
enum:
|
||||
- mcp
|
||||
title: RegistryType
|
||||
description: Type of registry.
|
||||
SearchRankingOptions:
|
||||
properties:
|
||||
ranker:
|
||||
|
|
@ -12573,6 +12967,85 @@ components:
|
|||
type: string
|
||||
title: DialogType
|
||||
type: object
|
||||
RegistryInput:
|
||||
description: Input for creating a registry.
|
||||
properties:
|
||||
url:
|
||||
title: Url
|
||||
type: string
|
||||
user_registry_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: User-specified identifier for the registry
|
||||
nullable: true
|
||||
registry_type:
|
||||
$ref: '#/components/schemas/RegistryType'
|
||||
default: mcp
|
||||
required:
|
||||
- url
|
||||
title: RegistryInput
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
ConnectorInput:
|
||||
description: Input for creating a connector.
|
||||
properties:
|
||||
connector_type:
|
||||
$ref: '#/components/schemas/ConnectorType'
|
||||
default: mcp
|
||||
connector_id:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: Unique identifier for the connector
|
||||
nullable: true
|
||||
url:
|
||||
description: URL of the connector
|
||||
title: Url
|
||||
type: string
|
||||
headers:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
description: HTTP headers to include when connecting
|
||||
nullable: true
|
||||
authorization:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: 'null'
|
||||
description: OAuth access token for authentication
|
||||
nullable: true
|
||||
required:
|
||||
- url
|
||||
title: ConnectorInput
|
||||
type: object
|
||||
ConversationMessage:
|
||||
description: OpenAI-compatible message item for conversations.
|
||||
properties:
|
||||
|
|
@ -12657,33 +13130,6 @@ components:
|
|||
- items
|
||||
title: ConversationItemCreateRequest
|
||||
type: object
|
||||
ToolGroupInput:
|
||||
description: Input data for registering a tool group.
|
||||
properties:
|
||||
toolgroup_id:
|
||||
title: Toolgroup Id
|
||||
type: string
|
||||
provider_id:
|
||||
title: Provider Id
|
||||
type: string
|
||||
args:
|
||||
anyOf:
|
||||
- additionalProperties: true
|
||||
type: object
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
mcp_endpoint:
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/URL'
|
||||
title: URL
|
||||
- type: 'null'
|
||||
nullable: true
|
||||
title: URL
|
||||
required:
|
||||
- toolgroup_id
|
||||
- provider_id
|
||||
title: ToolGroupInput
|
||||
type: object
|
||||
Api:
|
||||
description: Enumeration of all available APIs in the Llama Stack system.
|
||||
enum:
|
||||
|
|
@ -12708,6 +13154,7 @@ components:
|
|||
- files
|
||||
- prompts
|
||||
- conversations
|
||||
- connectors
|
||||
- inspect
|
||||
title: Api
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue