> ## Documentation Index
> Fetch the complete documentation index at: https://docs.askgina.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Predictions native tools

> Every Predictions MCP native tool, grouped by annotation class, with what each class can change.

Predictions MCP at `https://askgina.ai/ai/predictions/mcp` publishes each tool below as a native MCP tool beside `bash`. Native tools add no authority, because `bash` can already call the host tools behind them. They let your client show and gate each action by its own annotation instead of treating one `bash` call as a single risk.

Annotations are the server's own declaration. A client can use them to decide when to ask you before a call. They are hints, not enforcement, so keep approving every money-moving action yourself. Run `tools/list` on your connection to see what your deployment advertises.

## Annotation classes

| Class | `readOnlyHint` | `destructiveHint` | `idempotentHint` | `openWorldHint` |
| - | - | - | - | - |
| Read, external provider | true | false | true | true |
| Read, Gina account | true | false | true | false |
| Execute | false | true | false | true |
| Change a schedule | false | false | false | false |
| Change an event subscription | false | false | false | false |
| Delete an event subscription | false | true | false | false |
| Register a webhook destination | false | true | not set | true |
| Change a webhook destination | false | true | not set | false |
| Test a webhook destination | false | false | not set | true |
| Delete a schedule | false | true | false | false |
| Sandbox | false | true | false | true |

## Read, external provider

Reads live data from a market, blockchain or other provider. It changes nothing and can be repeated.

| Tool | Use it for |
| - | - |
| `searchPredictionMarkets` | Search Polymarket markets |
| `getExpiringMarkets` | Markets that end soon |
| `getPredictionSportsEvents` | Sports events and their markets by league, team or date |
| `getPredictionSubjectMarkets` | Markets about one subject, such as a person, company or asset |
| `resolvePredictionMarketExact` | One market and its outcome token ids from an exact slug, condition id, token id or URL |
| `getPredictionOrderbook` | Order book of one market |
| `getSeriesMarket` | The current or next market of a recurring series |
| `getPolymarketPositions` | Your open and redeemable positions |
| `getPolymarketOrderHistory` | Your order history |
| `getCrosschainPortfolio` | Your balances across chains |
| `webSearch` | Search the web for context |
| `fetchUrl` | Fetch a web page for context |

## Read, Gina account

Reads only state Gina stores for your account. It calls no outside provider and can be repeated.

| Tool | Use it for |
| - | - |
| `getAccountAddresses` | Your Gina wallet addresses |
| `listScheduledPrompts` | Your scheduled prompts |
| `listPredictionEventSubscriptions` | Your prediction event subscriptions, their filters and status |
| `getPredictionEvents` | Read order, trade and health events from your account's event log with a cursor |
| `listWebhookDestinations` | Your registered webhook destinations, without URLs or secrets |

## Execute

Places, changes, cancels or settles an order, trade or fund movement. It acts at once, repeating it can repeat the effect, and it cannot always be undone.

| Tool | Use it for |
| - | - |
| `tradePredictionMarket` | Execute an immediate Polymarket trade |
| `managePredictionOrders` | List, create, replace and cancel orders |
| `redeemPredictionMarket` | Redeem winning positions of resolved markets |
| `splitMergePredictionPosition` | Split pUSD into YES and NO sets, or merge sets back into pUSD, on one Polymarket market |
| `convertPredictionPosition` | Convert NO shares into YES shares on the other outcomes of an eligible negative-risk event |
| `topUpPredictionsBalance` | Top up your Predictions balance from a source asset |
| `withdrawPredictionsBalance` | Withdraw ready Predictions balance to your own wallet |

## Change a schedule

Creates or changes a scheduled prompt that Gina runs later. It touches only Gina-held schedule state.

| Tool | Use it for |
| - | - |
| `createScheduledPrompt` | Create a scheduled prompt |
| `toggleScheduledPrompt` | Enable or disable a scheduled prompt |
| `updateScheduledAgentConfig` | Update the agent configuration of a scheduled prompt |
| `updateScheduledPromptCondition` | Update a conditional Polymarket scheduled prompt in place |

## Change an event subscription

Creates, changes, pauses or resumes a prediction event subscription. It changes only the subscription Gina stores for your account and moves no funds.

| Tool | Use it for |
| - | - |
| `createPredictionEventSubscription` | Subscribe to order and trade events on your Polymarket account |
| `updatePredictionEventSubscription` | Rename, refilter, pause, resume or change the destination of a subscription |

## Delete an event subscription

Deletes a prediction event subscription so it stops delivering. It moves no funds, and it is marked destructive because it cannot be undone.

| Tool | Use it for |
| - | - |
| `deletePredictionEventSubscription` | Delete a subscription; it sends one final terminated event |

## Register a webhook destination

Registers a webhook or routine destination for prediction events. Only webhooks can return a generated signing secret once. Routines require their own credentials. It changes only the destination Gina stores for your account and moves no funds. It is marked destructive so your client asks you first, and a secret it passes or returns appears in your client's transcript.

| Tool | Use it for |
| - | - |
| `createWebhookDestination` | Register a webhook or routine destination with a label and URL. Only webhooks can return a generated signing secret once; routines require their own credentials |

## Change a webhook destination

Replaces a destination's signing secret or routine credential, or disables it. It moves no funds and is marked destructive so your client asks you first. Disabling cannot be undone.

| Tool | Use it for |
| - | - |
| `rotateWebhookDestinationSecret` | Replace a webhook signing secret with 24-hour overlap, or supply a new routine credential with no overlap. A generated webhook secret is returned once |
| `disableWebhookDestination` | Disable a destination for good and pause the subscriptions that use it |

## Test a webhook destination

Sends one optional test event to a registered destination and records the result. It can start a real automation or routine session and use the receiver's quota or paid usage, so it is not a read.

| Tool | Use it for |
| - | - |
| `sendWebhookTestEvent` | Send one test event and return HTTP status and outcome. Claude tests start a real session or send nothing and return `WEBHOOK_ROUTINE_NOT_READY` with `details.retryAfterSeconds` if their fire slot is unavailable |

## Delete a schedule

Deletes or archives a scheduled prompt so it stops running. It touches only Gina-held schedule state, and it is marked destructive because it ends a recurring automation.

| Tool | Use it for |
| - | - |
| `deleteScheduledPrompt` | Archive (disable) a scheduled prompt |

## Sandbox

Runs commands in a sandbox that can call every host tool the venue allows, including the execute class, so it carries the strictest class of the tools it can reach.

| Tool | Use it for |
| - | - |
| `bash` | Scripts, files, SQL over fetched market data and composed workflows |

## Host tools that are not native

These host tools are not native tools. Sandbox-only tools run inside `bash` with `host-tools`.

| Tool | Why |
| - | - |
| `fetchPolymarketData` | Loads rows into sandbox SQL tables and returns a table handle, so it only makes sense inside bash. |
| `fetchPolymarketHistory` | Loads rows into sandbox SQL tables and returns a table handle, so it only makes sense inside bash. |

## Typed next steps

These tools return a typed `next` list beside their result. Each entry names a tool and arguments your client can offer as a button. Your client still shows the call and waits for your approval before it runs.

| Tool | Suggests | When |
| - | - | - |
| `getPolymarketPositions` | `redeemPredictionMarket` | You hold redeemable winning positions. With one, it fills that position's condition and token ids. With several, it redeems all of them. |
| `splitMergePredictionPosition` | `splitMergePredictionPosition` | A split preview needs confirmation. It suggests the same split with `authorized: true`, and you can edit the amount. If the market has already resolved, it suggests `redeemPredictionMarket` for that condition id instead. |
| `convertPredictionPosition` | `convertPredictionPosition` | A conversion preview suggests the same conversion with `authorized: true`; the amount is editable and host approval is required. If the source market is closed, it can suggest `redeemPredictionMarket` for that condition instead. |

## Check that it works

1. Open your client's tool list for `https://askgina.ai/ai/predictions/mcp`.
2. Confirm `bash` and the tools above appear, and that every tool in the Execute class is marked destructive.
3. Ask “Show Polymarket markets that end today.” and check that the assistant calls `getExpiringMarkets`. Do not approve an Execute call you did not ask for.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.