<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bbox(ctx, tile):
 """Print Tile bounding box as geometry."""

    geom = TilePyramid(
        ctx.obj['grid'],
        tile_size=ctx.obj['tile_size'],
        metatiling=ctx.obj['metatiling']
    ).tile(*tile).bbox(pixelbuffer=ctx.obj['pixelbuffer'])
    if ctx.obj['output_format'] in ['WKT', 'Tile']:
        click.echo(geom)
    elif ctx.obj['output_format'] == 'GeoJSON':
        click.echo(geojson.dumps(geom))