Pull tool definition (config-as-code)

Return the canonical config-as-code definition and provenance for a tool by name — the absorb-drift direction of the ensure protocol. The contentHash is recomputed from the live tool state, so it is accurate even immediately after a dashboard edit.

Authentication

AuthorizationBearer
API key or Clerk session token

Query parameters

namestringRequired>=1 character

Response

Canonical definition + provenance

contentHashstring
definitionobject
lastModifiedSourcestring or null
toolIdstring
updatedAtstring or null

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error