removeAgentWithId

abstract suspend fun removeAgentWithId(id: String): Boolean(source)

Removes an AI agent based on its unique identifier.

Return

True if the agent with the specified ID was successfully removed, or false if no such agent was found.

Parameters

id

The unique identifier of the AI agent to be removed.