Get current user

veryfront__get_current_user

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

See the full schema below for the accepted shape and constraints.

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

request.json
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_current_user",    "arguments": {}  }}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record.
emailstring or nullYes
namestring or nullYesHuman-readable name for the returned record.
avatar_srcstring or nullYes
rolestring[]No
approvedbooleanNo
subscriptionobjectNo

Full schemas

input-schema.json
{  "type": "object",  "properties": {},  "additionalProperties": false,  "description": "Arguments for the get_current_user tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}
output-schema.json
{  "type": "object",  "properties": {    "id": {      "type": "string",      "description": "Unique identifier for the returned record."    },    "email": {      "type": [        "string",        "null"      ]    },    "name": {      "type": [        "string",        "null"      ],      "description": "Human-readable name for the returned record."    },    "avatar_src": {      "type": [        "string",        "null"      ]    },    "role": {      "type": "array",      "items": {        "type": "string"      }    },    "approved": {      "type": "boolean"    },    "subscription": {      "type": "object",      "properties": {        "id": {          "type": "string",          "format": "uuid",          "description": "Unique identifier for the returned record."        },        "user_id": {          "type": "string",          "format": "uuid"        },        "line_items": {          "type": "array",          "items": {            "type": "object",            "properties": {              "kind": {                "type": "string",                "enum": [                  "plan",                  "seat",                  "server",                  "sandbox"                ]              },              "quantity": {                "type": "number"              }            },            "required": [              "kind",              "quantity"            ],            "additionalProperties": false          },          "description": "List of line items associated with this tool result."        },        "expires_at": {          "type": "string"        },        "created_at": {          "type": "string",          "description": "Creation timestamp in ISO 8601 format."        },        "canceled_at": {          "type": [            "string",            "null"          ]        }      },      "required": [        "id",        "user_id",        "line_items",        "expires_at"      ],      "additionalProperties": false    }  },  "required": [    "id",    "email",    "name",    "avatar_src"  ],  "additionalProperties": false,  "description": "Structured result returned by the get_current_user tool.",  "$schema": "http://json-schema.org/draft-07/schema#"}