AICommand
LLM์ด ํธ์ถํ ์ ์๋ ๋ช
๋ น(๋๊ตฌ)์ ์ ์.
๋ชจ๋ธ์ ๋ฑ๋ก๋๋ฉด ๊ตฌํ๋ถ์์ JSONSchema ๊ธฐ๋ฐ function/tool ์ ์๋ก ๋ณํ๋์ด LLM์ ์ ๋ฌ๋๋ค.
See Also
https://json-schema.org/ (opens in a new tab)
Properties
description: string (opens in a new tab) readonly
LLM์ด ๋ช ๋ น์ ์ฉ๋ยทํธ์ถ ์์ ์ ํ๋จํ๋ ๊ทผ๊ฑฐ. function calling ํ์ง์ ์ข์ฐํ๋ฏ๋ก ํ์์ด๋ค.
default: undefined
examples: Array (opens in a new tab)<AIToolExample> readonly
ํธ์ถ ํจํด์ ์๋ ค์ฃผ๋ few-shot ์์.
๋ณํ ์ description์ ํฉ์ณ์ ธ LLM์ ์ธ์ ์ฑ์ฐ๊ธฐ ์ ํ๋๋ฅผ ๋์ธ๋ค.
default: undefined
name: string (opens in a new tab) readonly
๋ช ๋ น(๋๊ตฌ) ์๋ณ ์ด๋ฆ. LLM์ ๋ ธ์ถ๋๋ ํจ์/๋๊ตฌ ์ด๋ฆ์ผ๋ก ์ฌ์ฉ๋๋ค.
default: undefined
parameters: Array (opens in a new tab)<AIToolParameter> readonly
์ด ๋ช ๋ น์ด ๋ฐ๋ ํ๋ผ๋ฏธํฐ ์ ์ ๋ชฉ๋ก.
default: undefined
readOnly: boolean (opens in a new tab) readonly
์กฐํ ์ ์ฉ(์ํ๋ฅผ ๋ณ๊ฒฝํ์ง ์๋) ๋ช
๋ น ํ์.
MCP ๋
ธ์ถ ์ ํ์ค tool annotations(readOnlyHint)๋ก ์ ๋ฌ๋ผ, ํด๋ผ์ด์ธํธ๊ฐ ๋๊ตฌ ์ฑ๊ฒฉ(์กฐํ/๋ณ๊ฒฝ)์ ํ์ยทํ๋จํ๋ ๊ทผ๊ฑฐ๊ฐ ๋๋ค.
default: undefined