{
"id": "at.functions.run",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"function",
"input"
],
"properties": {
"input": {
"type": "unknown",
"description": "JSON input passed to the function"
},
"function": {
"type": "string",
"description": "at:// URI of the at.functions.metadata record"
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether execution succeeded"
},
"error": {
"type": "string",
"description": "Error message if execution failed"
},
"output": {
"type": "unknown",
"description": "JSON output from the function"
},
"durationMs": {
"type": "integer",
"description": "Wall-clock execution time in milliseconds"
},
"functionCid": {
"type": "string",
"description": "CID of the function record"
}
}
},
"encoding": "application/json"
},
"description": "Invoke a registered AT Function"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:vsnj4aaxyatiht4spdht2q2t
- CID
-
bafyreic22nfxzs6dsdax3rcwrauvj4vkwdl6tkzmzzdnjny4trjcetqzti
- Indexed At
- 2026-04-26 02:32 UTC
- AT-URI
-
at://did:plc:vsnj4aaxyatiht4spdht2q2t/com.atproto.lexicon.schema/at.functions.run