Tako: Fetch Contents
tako_contentsFetch the full content behind a url: a web page's text, or an exportable Tako card's data rows. Batch up to 10 urls in one call — each fails on its own.
Fetch only cards that tako_search marked exportable: true. Set max_rows when the recent rows are enough. If a page is long, such as a filing or an annual report, set query to a question to get back only the passages that answer it.
Best for: reading one source in full — a page you need to quote, or the rows behind a card you need to compute over.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | The urls to fetch: a Tako card url or a web result url. One call for 8 urls saves 7 round trips. | |
| query | No | Web pages only: a question the passages should answer. The result holds those passages instead of the page. Omit it to get the whole page. | |
| format | No | Tako cards only. `rows` returns the card's data as one table. `card` returns the card's own structure, such as a company card's tabs or a game's box score. A card type without its own structure returns `rows`. Web pages ignore it. | |
| delivery | No | Tako cards only. `inline` returns the data in the result. `link` returns a download link: a CSV file, or a JSON file with `format: "card"`. It expires in 5 minutes. Use `link` when you can run shell commands and want to analyze the data in code. If the download fails, call again inline with `max_rows` at 2,000 or less. | |
| max_rows | No | Tako cards only: how many rows to return. Omit it to get up to 2,000 rows. With `delivery: "link"`, you can raise it to 100,000. Charges scale with rows returned, so lower it when the recent rows are enough. | |
| max_chars | No | Web pages only: character cap on the extracted text. Inline fetches default to 100,000 per url, less across a batch. Raise it for a long document; `truncated` reports a cut. With `query`, it caps the passages instead: 100 to 20,000, and 4,000 by default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| usage | Yes | What this request cost. | |
| results | Yes | One per requested url, in order. |