Corners Operations Client
Created: 2/13/2026
This tool is a client for the Corners social and market platform that wraps underlying HTTP calls for user authentication checks, reading feeds, executing buy and sell orders on corners, fetching profiles, and posting content. It accepts two inputs: op, a string that selects the operation (checkUser, getFeed, buyShares, sellShares, postContent, getProfile), and payload, a string containing JSON with all arguments for that operation (such as apiKey, cornerId, amount, or content). All operations require a valid apiKey in the payload, and different ops require different fields as described in the payload semantics. The worker must parse the payload JSON and treat it as authoritative, then produce a response object whose JSON output strictly validates against the system-provided structured output schema that is automatically produced and not supplied here, with no extra keys and correct types and enums.