mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-27 06:28:50 +00:00
feat: adding tool annotation used by MCP
This commit is contained in:
parent
51b179e1c5
commit
7123e9723c
9 changed files with 168 additions and 0 deletions
88
docs/_static/llama-stack-spec.html
vendored
88
docs/_static/llama-stack-spec.html
vendored
|
@ -5588,6 +5588,28 @@
|
|||
"additionalProperties": {
|
||||
"$ref": "#/components/schemas/ToolParamDefinition"
|
||||
}
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"read_only_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"destructive_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"idempotent_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_hint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"title": "ToolAnnotations"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
@ -6488,6 +6510,28 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"read_only_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"destructive_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"idempotent_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_hint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"title": "ToolAnnotations"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
@ -8502,6 +8546,28 @@
|
|||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"read_only_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"destructive_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"idempotent_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_hint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"title": "ToolAnnotations"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
@ -11027,6 +11093,28 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"annotations": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"read_only_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"destructive_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"idempotent_hint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"open_world_hint": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"title": "ToolAnnotations"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue