getUserEmail
Get user email
Details
- Method:
GET - Path:
/rest/api/3/user/email - Operation ID:
getUserEmail
Parameters
{
"accountId": {
"description": "The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, `5b10ac8d82e05b22cc7d4ef5`.",
"required": true,
"location": "query",
"type": "string"
}
}Response Schema
{
"additionalProperties": true,
"properties": {
"accountId": {
"description": "The accountId of the user",
"type": "string"
},
"email": {
"description": "The email of the user",
"type": "string"
}
},
"type": "object"
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('jira')
# Call this tool
result = await agent.call_tool('getUserEmail', {
# Add required parameters here
})