core / Exports / RobotaComplete
Interface: RobotaComplete
Complete Robota interface combining core and configurable functionality
Hierarchy
↳
RobotaComplete
Implemented by
Table of contents
Methods
Methods
run
▸ run(prompt
, options?
): Promise
<string
>
Execute AI conversation with prompt
Parameters
Name | Type | Description |
---|---|---|
prompt | string | User input text |
options? | RunOptions | Optional run configuration |
Returns
Promise
<string
>
Promise resolving to AI response text
Inherited from
Defined in
runStream
▸ runStream(prompt
, options?
): Promise
<AsyncIterable
<StreamingResponseChunk
, any
, any
>>
Execute AI conversation with streaming response
Parameters
Name | Type | Description |
---|---|---|
prompt | string | User input text |
options? | RunOptions | Optional run configuration |
Returns
Promise
<AsyncIterable
<StreamingResponseChunk
, any
, any
>>
Promise resolving to async iterable of response chunks
Inherited from
Defined in
close
▸ close(): Promise
<void
>
Release all resources and close connections
Returns
Promise
<void
>
Promise that resolves when cleanup is complete
Inherited from
Defined in
callTool
▸ callTool(toolName
, parameters
): Promise
<any
>
Call a specific tool directly
Parameters
Name | Type | Description |
---|---|---|
toolName | string | Name of the tool to call |
parameters | Record <string , any > | Parameters to pass to the tool |
Returns
Promise
<any
>
Promise resolving to the tool's result
Inherited from
Defined in
getAvailableTools
▸ getAvailableTools(): any
[]
Get list of all available tools
Returns
any
[]
Array of tool metadata objects
Inherited from
RobotaConfigurable.getAvailableTools
Defined in
clearConversationHistory
▸ clearConversationHistory(): void
Clear all conversation history
Returns
void
Inherited from
RobotaConfigurable.clearConversationHistory