INSERT OR REPLACE INTO tools (space_id, tool_name, description, input_schema) VALUES (?, ?, ?, ?)