Getmyworkspace
getMyWorkspaceTOOL for retrieving current user's owned resources and work items across the Cortex workspace.
FLEXIBLE REQUEST STRUCTURE:
The request accepts an object with optional fields for each resource type:
- myEntitiesRequest: Fetch entities (services, resources, domains) owned by the user
- myTeamsRequest: Fetch teams the user belongs to
- myScorecardsRequest: Fetch scorecards associated with user's entities
- myOpenPRsRequest: Fetch user's open pull requests across all Git repositories
- myRequestedReviewsRequest: Fetch PRs where user is requested as a reviewer
- myWorkItemsRequest: Fetch work items (Jira, Linear, Azure DevOps) assigned to the user
Set one or more fields to fetch multiple resource types in a single call.
All results are combined into a single response array with mixed item types.
RESPONSE STRUCTURE:
Returns a single array of items where each item has an 'itemType' field indicating its type:
- 'entity': Catalog entities (services, resources, domains)
- 'team': Teams the user belongs to
- 'scorecard': Scorecards for user's entities
- 'pull_request': Open pull requests authored by the user
- 'review_request': Pull requests where user is requested as reviewer
- 'work_item': Work items (issues/tickets) assigned to the user
EXAMPLES:
1. Fetch only services:
{"myEntitiesRequest": {"entityTypes": ["service"]}}
2. Fetch teams and their entities:
{"myTeamsRequest": {"includeMembers": true}, "myEntitiesRequest": {}}
3. Get all work (PRs, reviews, Jira tickets):
{"myOpenPRsRequest": {}, "myRequestedReviewsRequest": {}, "myWorkItemsRequest": {}}
4. Search entities with filters:
{"myEntitiesRequest": {"query": "payment", "ownershipSource": "DIRECT", "entityTypes": ["service", "resource"]}}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | Explain why you're invoking this tool now and how its output will be used. Then state how this call supports your *overall objective* and fits into your broader plan across all tool calls (e.g., why this tool vs. others, and what step it unblocks). Never share any personal details or sensitive information. | |
| session_id | Yes | Session continuity handle, one of two values: the ses_ ID issued for the task underway, or start. This server cannot link your calls between requests on its own, so session continuity travels in this parameter instead. If you were handed a session_id for this task — for example by the agent that spawned you — send that exact value from your first call. Otherwise send start on your first call; the server will issue an opaque correlation ID in the mcp_session field of the result, or in a text block at the start of the result beginning [session_id issued. Then send that exact ses_ value on every later call and hand it to any subagents working the same task. start always begins a new, unrelated task — never send it mid-task. If you send a value this server does not recognize, the result reports it: mcp_session.status of unrecognized, or a text block beginning [session_id unrecognized; re-send the ID issued for this task, or start if none was issued yet. Never invent a ses_ value. | |
| myTeamsRequest | No | Request for teams the user belongs to | |
| myOpenPRsRequest | No | Request for user's open pull requests across all Git repositories | |
| myEntitiesRequest | No | Request for all entities (services, resources, domains) owned by the user | |
| myWorkItemsRequest | No | Request for work items (Jira, Linear, Azure DevOps issues) assigned to the user | |
| myScorecardsRequest | No | Request for scorecards associated with the user's entities | |
| myRequestedReviewsRequest | No | Request for pull requests where the user is requested as a reviewer |