Title98/100
Get signed-in user
The title clearly communicates the tool’s action and subject. Keep it concise.
Description86/100
Return the signed-in user and this connection's approved repositories, permissions and expiry.
The description explains the capability, when to use it, and what to expect.
Inputs100/100
This tool declares no inputs, so argument descriptions are not needed.
No input fields.
Annotations100/100
All four behavior hints are declared.
{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Output schema80/100
The output schema explains the structured result.
View output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"result"
],
"properties": {
"result": {
"anyOf": [
{
"type": "object",
"required": [
"actorId",
"handle",
"displayName",
"avatarUrl",
"connection"
],
"properties": {
"handle": {
"type": "string"
},
"actorId": {
"type": "string",
"description": "Your actor ID; pass it in assigneeIds to assign yourself."
},
"avatarUrl": {
"type": [
"string",
"null"
]
},
"connection": {
"anyOf": [
{
"type": "object",
"required": [
"repositories",
"permissions",
"expiresAt"
],
"properties": {
"expiresAt": {
"type": "string",
"description": "When the connection expires."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Approved permissions, as kind:family:level."
},
"repositories": {
"type": "array",
"items": {
"type": "string"
},
"description": "owner/repo names this connection may use."
}
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "This OAuth connection's approvals; null for other sign-ins."
},
"displayName": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "The signed-in user, or null when the credential names no user."
}
},
"additionalProperties": false
}