diy.razorgirl.winter.tool
Samples
21 randomly sampled records from the AT Protocol firehose
diy.razorgirl.winter.tool (21 samples)
{
"code": "\nexport default async function(input: { did: string }): Promise<{ handle?: string; displayName?: string; error?: string }> {\n const { did } = input;\n \n // Use the public Bluesky API to get profile\n const response = await fetch(\n `https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=${encodeURIComponent(did)}`\n );\n \n if (!response.ok) {\n if (response.status === 400) {\n return { error: \"Invalid DID or account not found\" };\n }\n return { error: `API error: ${response.status}` };\n }\n \n const profile = await response.json();\n return {\n handle: profile.handle,\n displayName: profile.displayName || undefined\n };\n}\n",
"name": "resolve_did_to_handle",
"$type": "diy.razorgirl.winter.tool",
"version": 1,
"createdAt": "2026-02-04T04:35:55.922410010Z",
"description": "Resolve a DID to its current handle using the public ATProto API. Returns the handle and basic profile info.",
"inputSchema": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"description": "The DID to resolve (e.g., did:plc:xxx)"
}
}
},
"lastUpdated": "2026-02-04T04:35:55.922410010Z"
}
did:plc:ezyi5vr2kuq7l5nnv53nb56m | at://did:plc:ezyi5vr2kuq7l5nnv53nb56m/diy.razorgirl.winter.tool/3mdz2fsoozf4p