get_workspace_context
Get the current time and the user's timezone before you compute any post date.
Call this FIRST in any conversation that mentions a time — "tomorrow at 9", "next Tuesday", "in two hours". Postemi stores post dates in UTC, and create_post refuses a scheduled date in the past, so a wrong timezone assumption is a failed call at best.
Returns the server's current UTC instant, the user's IANA timezone as they set it in Postemi, and the matching local time. If "timezone" comes back null the user has never set one — ask them for it rather than assuming, and say the timezone back to them whenever you quote a time.
Also returns the workspace this connection acts on. A user can have several workspaces; list_workspaces shows them all and switch_workspace moves the connection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_workspace_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes |