apollo-code / tools/src / TodoTool
Class: TodoTool
Implements
Tool<{items:object[]; }>
Constructors
Constructor
new TodoTool():
TodoTool
Returns
TodoTool
Properties
description
readonlydescription:"Replace the session todo list"='Replace the session todo list'
Implementation of
inputSchema
readonlyinputSchema:never
Implementation of
name
readonlyname:"Todo"='Todo'
Implementation of
readonly
readonlyreadonly:true=true
Implementation of
Methods
invoke()
invoke(
i):Promise<ToolResult>
Parameters
i
items
object[]
Returns
Promise<ToolResult>
Implementation of
permissionSpec()
permissionSpec():
PermissionSpec