loadArtifact

suspend fun loadArtifact(name: String, version: Int? = null): Part?

Loads an artifact by name from the invocation's com.google.adk.kt.artifacts.ArtifactService. Returns null if no artifact service is configured or the artifact is not found.