get_block_documents
Retrieve block documents from Prefect workflows by specifying a block type, with options to filter by name, limit results, and paginate through large datasets.
Instructions
Get block documents by block type.
Args: block_type_slug: The block type slug limit: Maximum number of block documents to return offset: Number of block documents to skip name: Filter by name pattern
Returns: A list of block documents with their details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
block_type_slug | Yes | ||
limit | No | ||
name | No | ||
offset | No |
Input Schema (JSON Schema)
{
"properties": {
"block_type_slug": {
"title": "Block Type Slug",
"type": "string"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Name"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
}
},
"required": [
"block_type_slug"
],
"type": "object"
}