Skip to content

core / Exports / RobotaComplete

Interface: RobotaComplete

Complete Robota interface combining core and configurable functionality

Hierarchy

Implemented by

Table of contents

Methods

Methods

run

run(prompt, options?): Promise<string>

Execute AI conversation with prompt

Parameters

NameTypeDescription
promptstringUser input text
options?RunOptionsOptional run configuration

Returns

Promise<string>

Promise resolving to AI response text

Inherited from

RobotaCore.run

Defined in

interfaces/robota-core.ts:18


runStream

runStream(prompt, options?): Promise<AsyncIterable<StreamingResponseChunk, any, any>>

Execute AI conversation with streaming response

Parameters

NameTypeDescription
promptstringUser input text
options?RunOptionsOptional run configuration

Returns

Promise<AsyncIterable<StreamingResponseChunk, any, any>>

Promise resolving to async iterable of response chunks

Inherited from

RobotaCore.runStream

Defined in

interfaces/robota-core.ts:27


close

close(): Promise<void>

Release all resources and close connections

Returns

Promise<void>

Promise that resolves when cleanup is complete

Inherited from

RobotaCore.close

Defined in

interfaces/robota-core.ts:34


callTool

callTool(toolName, parameters): Promise<any>

Call a specific tool directly

Parameters

NameTypeDescription
toolNamestringName of the tool to call
parametersRecord<string, any>Parameters to pass to the tool

Returns

Promise<any>

Promise resolving to the tool's result

Inherited from

RobotaConfigurable.callTool

Defined in

interfaces/robota-core.ts:51


getAvailableTools

getAvailableTools(): any[]

Get list of all available tools

Returns

any[]

Array of tool metadata objects

Inherited from

RobotaConfigurable.getAvailableTools

Defined in

interfaces/robota-core.ts:58


clearConversationHistory

clearConversationHistory(): void

Clear all conversation history

Returns

void

Inherited from

RobotaConfigurable.clearConversationHistory

Defined in

interfaces/robota-core.ts:63

Released under the MIT License.