---
title: "tool si.act.scrape_template"
description: "a `TemplateInput`: the template, ready or not ready with the reason; for a preview, the rows from its samples and a bounded live scope."
section: reference
address: /reference/tools/si-act-scrape_template
contract: 0476e35e6e275db5
---

# tool si.act.scrape_template

a `TemplateInput`: the template, ready or not ready with the reason; for a preview, the rows from its samples and a bounded live scope.

[figure: Over MCP, si.act.scrape_template takes TemplateInput and returns a card whose body is ExtractionTemplate.]

the template, ready or not ready with the reason; for a preview, the rows from its samples and a bounded live scope. The call needs the act grant at the brand rung.



| | |
|---|---|
| input | [TemplateInput](/concepts/templateinput) |
| result | a card whose body is [ExtractionTemplate](/concepts/extractiontemplate) |
| read-only | no |
| destructive | yes |
| card address | `ui://scale-intelligence/cards/ExtractionTemplate` |
| HTTP route | [`/v1/act/scrape_template`](/reference/act/scrape_template) |





| field | type | required | note |
|---|---|---|---|
| `template` | [ExtractionTemplate](/concepts/extractiontemplate) | yes |  |
| `flow` | `one of write \| preview \| arm \| disarm \| retire` | yes |  |
