Skip to main content
This callable is not an HTTP endpoint. Its schemas describe the hosted tool. Direct MCP and tool RPC wrap the same semantic document differently. See the MCP contract or tool RPC contract.

Body

application/json
exactTarget
string
required

Opaque exact-symbol reference returned by Kast. Copy it unchanged.

Required string length: 1 - 1048576
declaration
string
required

Kotlin declaration text to add at the exact target.

Required string length: 1 - 1048576

Response

200 - application/json

Invocation envelope: completed contains a semantic document; rejected contains a boundary diagnostic. A completed invocation may still contain a qualified or rejected semantic outcome.

status
string
required

Process outcome.

Allowed value: "completed"
document
complete · object
required
Last modified on September 28, 2026