Task Prompt
I need to know, from the cloud nosql video game store database, how many twitter posts were made in the year kobe bryant passed away.
I need to know, from the cloud nosql video game store database, how many twitter posts were made in the year kobe bryant passed away.
I need to know, from the cloud nosql video game store database, how many twitter posts were made in the year kobe bryant passed away.
---
name: workspace-filesystem
description: The virtual filesystem layout of this workspace.
---
# Virtual Filesystem
You work in a terminal over a virtual filesystem. Read files with shell
commands.
Command output comes back whole, however long. Some files here are large,
so point `grep -r`, `rg`, `find` and `cat` at the directory or file you
need rather than at a whole mount.
| path | what it is |
|---|---|
| `/mongodb` | Your MongoDB databases, read-only; change them with the `mongodb` CLI. |
| `/tmp` | Scratch space, in memory. |
## `/mongodb`
```
/mongodb/
<database>/
database.json
collections/
<collection>/
schema.json
documents.jsonl
views/
<view>/
schema.json
documents.jsonl
```
- `database.json`: `{database: str, collections: list[{name: str}],
views: list[{name: str}]}`
- `schema.json`: `{database: str, name: str, kind: str, validator: dict |
null, fields: list[{path: str, presence: number, types: dict}],
primary_key: str, indexes: list[{name: str, keys: dict, type: str}],
sampled: int}`, read from a sample of `sampled` documents
- `documents.jsonl`: one document per line, in MongoDB Extended JSON: a date
reads as `{"$date": "..."}`| name | workspace-filesystem |
|---|---|
| description | The virtual filesystem layout of this workspace. |
Virtual Filesystem
You work in a terminal over a virtual filesystem. Read files with shell commands.
Command output comes back whole, however long. Some files here are large, so point grep -r, rg, find and cat at the directory or file you need rather than at a whole mount.
| path | what it is |
|---|---|
/mongodb | Your MongoDB databases, read-only; change them with the mongodb CLI. |
/tmp | Scratch space, in memory. |
/mongodb
/mongodb/
<database>/
database.json
collections/
<collection>/
schema.json
documents.jsonl
views/
<view>/
schema.json
documents.jsonldatabase.json: {database: str, collections: list[{name: str}], views: list[{name: str}]}schema.json: {database: str, name: str, kind: str, validator: dict | null, fields: list[{path: str, presence: number, types: dict}], primary_key: str, indexes: list[{name: str, keys: dict, type: str}], sampled: int}, read from a sample of sampled documentsdocuments.jsonl: one document per line, in MongoDB Extended JSON: a date reads as {"$date": "..."}---
name: workspace-commands
description: Use when running commands in this workspace - which commands exist, what they can do, and what the interpreter supports.
---
# Available commands
Python (`python` or `python3`), Perl, JavaScript/Node.js, and TypeScript
runtimes are unavailable. Use the shell commands and task CLIs documented
below; do not probe for or attempt to install other runtimes.
Standard Unix commands, among them:
cat head tail ls find grep wc sort uniq cut tr sed awk
diff tee xargs jq
with pipes, `>` redirection and `$(...)` substitution.
Do not probe the machine with `which`, `type`, `--version`, `env`, `ps`,
`echo $PATH`, `ls /usr/bin` or `cat /usr/bin/<command>`: they tell you
nothing about the task.
A filename with a space in it needs quoting, as it would in any shell.
You can also use `gh` for GitHub.
## mongodb
Use `mongodb <command> '<JSON arguments>'`. Run `mongodb <command> --help`
to get more information.
```sh
mongodb list-collections '{"database":"DATABASE"}'
mongodb list-databases '{}'
mongodb find '{"database":"DATABASE","collection":"COLLECTION","filter":{"FIELD":"VALUE"},"limit":10}'
mongodb count '{"database":"DATABASE","collection":"COLLECTION","query":{"FIELD":"VALUE"}}'
```
| Command | Arguments | Description |
|---|---|---|
| `mongodb list-collections` | `{database: str}` | List all collections for a given database |
| `mongodb list-databases` | `{}` | List all databases for a MongoDB connection |
| `mongodb find` | `{database: str, collection: str, filter?: dict, projection?: dict, limit?: number = 10, sort?: dict}` | Run a find query against a MongoDB collection |
| `mongodb count` | `{database: str, collection: str, query?: dict}` | Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter |
## wikipedia
Use `wikipedia <command> '<JSON arguments>'`. Run
`wikipedia <command> --help` to get more information.
```sh
wikipedia search-wikipedia '{"query":"QUERY"}'
wikipedia get-article '{"title":"TITLE"}'
```
| Command | Arguments | Description |
|---|---|---|
| `wikipedia search-wikipedia` | `{query: str, limit?: int = 10}` | Search Wikipedia for articles matching a query. |
| `wikipedia get-article` | `{title: str}` | Get the full content of a Wikipedia article. |
## memory
Use `memory <command> '<JSON arguments>'`. Run `memory <command> --help` to
get more information.
```sh
memory read-graph '{}'
memory search-nodes '{"query":"QUERY"}'
memory open-nodes '{"names":["NAME"]}'
```
| Command | Arguments | Description |
|---|---|---|
| `memory read-graph` | `{}` | Read the entire knowledge graph |
| `memory search-nodes` | `{query: str}` | Search for nodes in the knowledge graph based on a query |
| `memory open-nodes` | `{names: list[str]}` | Open specific nodes in the knowledge graph by their names |
## pubmed
Use `pubmed <command> '<JSON arguments>'`. Run `pubmed <command> --help` to
get more information.
```sh
pubmed search-pubmed-key-words '{"key_words":"QUERY","num_results":5}'
pubmed search-pubmed-advanced '{"term":"QUERY","num_results":5}'
pubmed get-pubmed-article-metadata '{"pmid":"PMID"}'
```
| Command | Arguments | Description |
|---|---|---|
| `pubmed search-pubmed-key-words` | `{key_words: str, num_results?: int = 10}` | |
| `pubmed search-pubmed-advanced` | `{term?: str = null, title?: str = null, author?: str = null, journal?: str = null, start_date?: str = null, end_date?: str = null, num_results?: int = 10}` | |
| `pubmed get-pubmed-article-metadata` | `{pmid: str \| int}` | |
## weather
Use `weather <command> '<JSON arguments>'`. Run `weather <command> --help`
to get more information.
```sh
weather find-weather-stations '{"location":"40.7128,-74.0060"}'
```
| Command | Arguments | Description |
|---|---|---|
| `weather find-weather-stations` | `{location: str, limit?: number = 10}` | Find weather observation stations near a location in the United States. Useful for getting station-specific data, finding data sources, or understanding which stations provide weather data for an area. Includes ASOS, AWOS, and other automated weather stations. |
## fetch
Use `fetch <command> '<JSON arguments>'`. Run `fetch <command> --help` to
get more information.
```sh
fetch fetch '{"url":"https://example.com"}'
```
| Command | Arguments | Description |
|---|---|---|
| `fetch fetch` | `{url: str, max_length?: int = 5000, start_index?: int = 0, raw?: bool = false}` | Fetches a URL from the internet and optionally extracts its contents as markdown. || name | workspace-commands |
|---|---|
| description | Use when running commands in this workspace - which commands exist, what they can do, and what the interpreter supports. |
Available commands
Python (python or python3), Perl, JavaScript/Node.js, and TypeScript runtimes are unavailable. Use the shell commands and task CLIs documented below; do not probe for or attempt to install other runtimes.
Standard Unix commands, among them:
cat head tail ls find grep wc sort uniq cut tr sed awk
diff tee xargs jqwith pipes, > redirection and $(...) substitution.
Do not probe the machine with which, type, --version, env, ps, echo $PATH, ls /usr/bin or cat /usr/bin/<command>: they tell you nothing about the task.
A filename with a space in it needs quoting, as it would in any shell.
You can also use gh for GitHub.
mongodb
Use mongodb <command> '<JSON arguments>'. Run mongodb <command> --help to get more information.
mongodb list-collections '{"database":"DATABASE"}'
mongodb list-databases '{}'
mongodb find '{"database":"DATABASE","collection":"COLLECTION","filter":{"FIELD":"VALUE"},"limit":10}'
mongodb count '{"database":"DATABASE","collection":"COLLECTION","query":{"FIELD":"VALUE"}}'| Command | Arguments | Description |
|---|---|---|
mongodb list-collections | {database: str} | List all collections for a given database |
mongodb list-databases | {} | List all databases for a MongoDB connection |
mongodb find | {database: str, collection: str, filter?: dict, projection?: dict, limit?: number = 10, sort?: dict} | Run a find query against a MongoDB collection |
mongodb count | {database: str, collection: str, query?: dict} | Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter |
wikipedia
Use wikipedia <command> '<JSON arguments>'. Run wikipedia <command> --help to get more information.
wikipedia search-wikipedia '{"query":"QUERY"}'
wikipedia get-article '{"title":"TITLE"}'| Command | Arguments | Description |
|---|---|---|
wikipedia search-wikipedia | {query: str, limit?: int = 10} | Search Wikipedia for articles matching a query. |
wikipedia get-article | {title: str} | Get the full content of a Wikipedia article. |
memory
Use memory <command> '<JSON arguments>'. Run memory <command> --help to get more information.
memory read-graph '{}'
memory search-nodes '{"query":"QUERY"}'
memory open-nodes '{"names":["NAME"]}'| Command | Arguments | Description |
|---|---|---|
memory read-graph | {} | Read the entire knowledge graph |
memory search-nodes | {query: str} | Search for nodes in the knowledge graph based on a query |
memory open-nodes | {names: list[str]} | Open specific nodes in the knowledge graph by their names |
pubmed
Use pubmed <command> '<JSON arguments>'. Run pubmed <command> --help to get more information.
pubmed search-pubmed-key-words '{"key_words":"QUERY","num_results":5}'
pubmed search-pubmed-advanced '{"term":"QUERY","num_results":5}'
pubmed get-pubmed-article-metadata '{"pmid":"PMID"}'| Command | Arguments | Description | |
|---|---|---|---|
pubmed search-pubmed-key-words | {key_words: str, num_results?: int = 10} | ||
pubmed search-pubmed-advanced | {term?: str = null, title?: str = null, author?: str = null, journal?: str = null, start_date?: str = null, end_date?: str = null, num_results?: int = 10} | ||
pubmed get-pubmed-article-metadata | `{pmid: str \ | int}` |
weather
Use weather <command> '<JSON arguments>'. Run weather <command> --help to get more information.
weather find-weather-stations '{"location":"40.7128,-74.0060"}'| Command | Arguments | Description |
|---|---|---|
weather find-weather-stations | {location: str, limit?: number = 10} | Find weather observation stations near a location in the United States. Useful for getting station-specific data, finding data sources, or understanding which stations provide weather data for an area. Includes ASOS, AWOS, and other automated weather stations. |
fetch
Use fetch <command> '<JSON arguments>'. Run fetch <command> --help to get more information.
fetch fetch '{"url":"https://example.com"}'| Command | Arguments | Description |
|---|---|---|
fetch fetch | {url: str, max_length?: int = 5000, start_index?: int = 0, raw?: bool = false} | Fetches a URL from the internet and optionally extracts its contents as markdown. |
| Model | VFS | MCP | VFS Tokens | MCP Tokens | Token Reduction Rate |
|---|---|---|---|---|---|
| Claude Opus 5.5 | 1/1 | 1/1 | 15.0k | 31.9k | 53% |
| GPT-6.1 Sol | 1/1 | 1/1 | 10.2k | 8.63k | −19% |
| GPT-5.6 Luna | 1/1 | 1/1 | 11.6k | 10.0k | −15% |
| Claude Haiku 5.5 | 1/1 | 1/1 | 30.9k | 73.0k | 58% |
| Gemini 3.8 Flash | 1/1 | 1/1 | 86.2k | 109k | 21% |