ReadonlyToolContext

A readonly view of the tool context.

Inheritors

Properties

Link copied to clipboard
abstract val context: ReadonlyContext

The readonly invocation context.

Link copied to clipboard
abstract val eventId: String?

The unique ID of the event that triggered this tool call.

Link copied to clipboard
abstract val functionCallId: String?

The unique ID of the function call.

Functions

Link copied to clipboard
abstract suspend fun listArtifacts(): List<String>

Lists the artifacts available in the current session.

Link copied to clipboard
abstract suspend fun loadArtifact(name: String, version: Int? = null): Part?

Loads a specific artifact from the current session.