mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
68 lines
7.6 KiB
Text
68 lines
7.6 KiB
Text
---
|
|
id: list-tool-groups-with-optional-provider
|
|
title: "List tool groups with optional provider."
|
|
description: "List tool groups with optional provider."
|
|
sidebar_label: "List tool groups with optional provider."
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJztWNtu2zgQ/RVCL90FHDsNtug2b9ndbrdAiwSJ+7BIA4OWxhYbSlRJyolh+N/3DCnZ8iU3YF8COC+RJQ5n5sw5w8siseQqUzpyyekiOTk+5n8ZudSqyitTJqfJmfiinB8aoz9ZU1fusrHoJ70kNaWn0rORrCqtUslGgx+OLReJS3MqJD/5eUWYy4x/UOphWFlTkfUq+s2k746S1so5BilPhXvaWmUIQU0U2c5Y560qp8kyDJ5hiB0hVVPblEYqe3zgA9/ji+0PvYTKukhOr5PCZKTx2+WKdIaHGaI1dpSN8cwpOuLgXWrYcDSpyzRA3EvGVKZ5Ie0tnj2Abv6Npgx4zLeofHITAHeAe/NzRhNZ6z2vu2UcImphJqJFoSekvpNzJ96sjd5wmkVajajMKqNiYR8Hv7ZqHyZbvnMS3y6/iPhZhKn5wRvh8akNKVnCvcwyxWZSX3QcTaR21ANbf9bKUsZws2cg4pXX7Brz7/g9C14tTcgCYWJ/dO/JYnLRULfPKUs73cuz/bEsElPS+QQxrCzKWmtMtPo9BqQky+4rkGQMhnberJi1RfzOiyaS5c1yO7VfzqsY2a/ibBWlQCJ1gaycmBgbsOXiisiIF6HbEdWmMhoddJBftYY9+AfPkXZaespCPE4UspTT8GtKiNKGKmzactNhw3UC7mUZhKbSCXN/F9uJuf0QCCJVyTyVQu9Gg5iXHNBv+5rmMND6Z00wu5NOqHImtcoEqlJIjeIUlP1//dN56esug6EvmobSbYb1z3B4IeJo5JdRaGsRn6c0/NFaphQPRusQLjfWC1cXaFvzgAwypjDmLldpLlRM2ipZ+sBGWTbfg59Qb+Crn+s5jmbX2pTITeQ1WHRkSWZyrEl0bDbCYU8KTVOiATztqyur0DxiMimCH5OoXeAsKgtrmpEojCWkyfUMlRNybGofnLuKUugnFSZNaxv7z2ZcLyFzU+G2WivwOvwOMD0AXrvKiwlWkhDD2cXnvrg09TTXc5RHa3PnxOXff4r3vx+/D3Kke1lUkRktv0D1tb8/ZCYuI8XX8TyT+Y1yTj7sV06qFVQhcpg7foDquGXM24l5VhBhqmaE/4WpyyhOVdBBVAdRvTJRnXzYWEvFV2Z6oyzXlda/poYmgBDdp0QZw8Ziw7qK9alQvi8usOtAQB7skVMsXoIXXduuVO8eWqkc2RmKDzhZStgsZUysuqR74M2rNjUwHKR1kNYrkta77nr1uWx2/leR7Wv/jbzOdinfgpH1xXkNJpAswqo0Jiw8pQkb5KyV1+oYtnOCfmTig6gOonpdojre5+0ZEgoqYapJPmxfr4+NjhPYc/jrnLXEnfK5ME1ZRHse5SuoSlpZEKTNk2IiPOcGcCXTcNtSSZ/jx2D2dsDzNQfJXhKXPBcO8bXl2HPvq9PBAIvvUW4c4j/SWhbyCHmnt/3UFDiGsx2yUX4eDP9qFX99w9+YA4Fd7YmT7cUV24urhgmyufJh5zHX2ds99yUsHLdBIdkldXdmn0vfIuK+l2LrDyqlsDtu73QcRBh2DspC/jayIuNjLjcMO5EpuTiptPSdz8Da2ED53cnHvMvXEIHFcb6J6itfg7nAngo4Qp+MSYkivaywG5As1l3yJXM0Ovd07weVxoaIowrlXjTMuI74d7iBQnL9+dNiMcZ26pvVyyW/xo7MziPLQk8bc5Wv+W4mRwPi60dw4pbmLIQ0pYr5h8NPHa52tjv7ssvVTx+HkMd/gcyOFw==
|
|
sidebar_class_name: "get api-method"
|
|
info_path: docs/api/llama-stack-specification
|
|
custom_edit_url: null
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"List tool groups with optional provider."}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/v1/toolgroups"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
List tool groups with optional provider.
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
children={"Request"}
|
|
>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
parameters={[]}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
title={"Body"}
|
|
body={undefined}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
id={undefined}
|
|
label={undefined}
|
|
responses={{"200":{"description":"A ListToolGroupsResponse.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"identifier":{"type":"string"},"provider_resource_id":{"type":"string"},"provider_id":{"type":"string"},"type":{"type":"string","enum":["model","shield","vector_db","dataset","scoring_function","benchmark","tool","tool_group","prompt"],"const":"tool_group","default":"tool_group","description":"Type of resource, always 'tool_group'"},"mcp_endpoint":{"type":"object","properties":{"uri":{"type":"string","description":"The URL string pointing to the resource"}},"additionalProperties":false,"required":["uri"],"title":"URL","description":"A URL reference to external content."},"args":{"type":"object","additionalProperties":{"oneOf":[{"type":"null"},{"type":"boolean"},{"type":"number"},{"type":"string"},{"type":"array"},{"type":"object"}]},"description":"(Optional) Additional arguments for the tool group"}},"additionalProperties":false,"required":["identifier","provider_id","type"],"title":"ToolGroup","description":"A group of related tools managed together."},"description":"List of tool groups"}},"additionalProperties":false,"required":["data"],"title":"ListToolGroupsResponse","description":"Response containing a list of tool groups."}}}},"400":{"description":"The request was invalid or malformed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":400,"title":"Bad Request","detail":"The request was invalid or malformed"}}}},"429":{"description":"The client has sent too many requests in a given amount of time","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":429,"title":"Too Many Requests","detail":"You have exceeded the rate limit. Please try again later."}}}},"500":{"description":"The server encountered an unexpected error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":500,"title":"Internal Server Error","detail":"An unexpected error occurred. Our team has been notified."}}}},"default":{"description":"An unexpected error occurred","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"integer","description":"HTTP status code"},"title":{"type":"string","description":"Error title, a short summary of the error which is invariant for an error type"},"detail":{"type":"string","description":"Error detail, a longer human-readable description of the error"},"instance":{"type":"string","description":"(Optional) A URL which can be used to retrieve more information about the specific occurrence of the error"}},"additionalProperties":false,"required":["status","title","detail"],"title":"Error","description":"Error response from the API. Roughly follows RFC 7807."},"example":{"status":0,"title":"Error","detail":"An unexpected error occurred"}}}}}}
|
|
>
|
|
|
|
</StatusCodes>
|