google-adk-kotlin
Toggle table of contents
1.6.0
common
Target filter
common
Switch theme
Search in API
Skip to content
google-adk-kotlin
google-adk-kotlin-core
/
com.google.adk.kt.tools
/
Toolset
Toolset
common
interface
Toolset
:
AutoCloseable
Base interface for toolsets.
Inheritors
AppFunctionsToolset
BaseFutureToolset
SkillToolset
EnvironmentToolset
McpToolset
Members
函数
close
Link copied to clipboard
common
open
override
fun
close
(
)
执行清理操作,并释放工具集所占用的资源。
get
Tools
Link copied to clipboard
common
abstract
suspend
fun
getTools
(
readonlyContext
:
ReadonlyContext
?
=
null
)
:
List
<
BaseTool
>
根据所提供的上下文,返回工具集中的所有工具。
process
Llm
Request
Link copied to clipboard
common
open
suspend
fun
processLlmRequest
(
toolContext
:
ToolContext
,
llmRequest
:
LlmRequest
)
:
LlmRequest
该功能允许工具集处理来自大型语言模型(LLM)的请求。